Example #1
0
        public void Exec(string script)
        {
            Tokenizer tokenizer = new Sidi.Util.Tokenizer(new StringReader(script));

            string[] args = tokenizer.Tokens.ToArray();
            Sidi.CommandLine.Parser.Run(this, args);
        }
Example #2
0
 public void ExecFile(string scriptFile)
 {
     Tokenizer tokenizer = new Sidi.Util.Tokenizer(new StreamReader(scriptFile));
     string[] args = tokenizer.Tokens.ToArray();
     Sidi.CommandLine.Parser.Run(this, args);
 }