// ---------------- Constructor ---------------- static int Main(string[] args) { try { bool showHelp = false; bool showVersion = false; bool showLicense = false; bool showCredits = false; bool showReadme = false; bool dryRun = false; int verbosity = 0; SshConfig defaultConfig = new SshConfig(); SshConfig actualConfig = new SshConfig(); OptionSet options = new OptionSet { { "h|help", "Shows this message and exits.", v => showHelp = (v != null) }, { "version", "Shows the version and exits.", v => showVersion = (v != null) },
// ---------------- Constructor ---------------- public SshRunner(SshConfig config, GenericLogger logger) { this.config = config; this.logger = logger; this.lockFileManager = new LockFileManager(config, logger); }
// ---------------- Constructor ---------------- public LockFileManager(SshConfig sshConfig, GenericLogger logger) { this.sshConfig = sshConfig; this.logger = logger; }