public static int Main(String[] args) { ResinArgs resinArgs = new ResinArgs(Environment.GetCommandLineArgs()); Resin resin = new Resin(resinArgs); return(resin.Execute()); }
public static int Main(String[] args) { ResinArgs resinArgs = new ResinArgs(Environment.GetCommandLineArgs()); Resin resin = new Resin(resinArgs); return resin.Execute(); }
public static int Main(String[] args) { Resin resin = new Resin(Environment.GetCommandLineArgs()); if (resin.ResinArgs.IsServiceCommand()) { resin.Info("Please use setup.exe to install or remove the service."); return -1; } else if (!resin.ResinArgs.IsValid()) { resin.Usage(resin.ServiceName); return -1; } else { return resin.Execute(); } }