Example #1
0
        static void Main(string[] args)
        {
            // 命令行参数解析
            if (args == null || args.Length < 1)
            {
                Console.WriteLine("请输入命令参数!");
                return;
            }

            JenvShell jShell = null;

            try
            {
                jShell = new JenvShell();
            }
            catch (FileNotFoundException)
            {
                Console.WriteLine("未找到config.json配置文件,请检查程序目录");
                return;
            }

            jShell.Process(args);
        }
Example #2
0
 public JAbstractCommand(JenvShell sender)
 {
     this.Sender = sender;
 }
 public SwtichJavaEnvCommand(JenvShell sender) : base(sender)
 {
 }
Example #4
0
 public PrintAllConfigCommand(JenvShell sender) : base(sender)
 {
 }