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); }
public JAbstractCommand(JenvShell sender) { this.Sender = sender; }
public SwtichJavaEnvCommand(JenvShell sender) : base(sender) { }
public PrintAllConfigCommand(JenvShell sender) : base(sender) { }