예제 #1
0
        public static CliCommand Create(CliScope s, string fmt, params object[] args)
        {
            var cmd  = string.Format(fmt, args);
            var ccmd = new CliCommand(cmd, s);


            return(ccmd);
        }
예제 #2
0
 private CliCommand(string commandStub, CliScope s)
 {
     CommandStub = commandStub;
     CliScope    = s;
 }