static void Main(string[] args) { var configuration = new ConfigurationBuilder() .AddEnvironmentVariables() .Build(); ConConnectionInfo.CreateConnection( configuration.GetSection("CSS_HOSTNAME").Value, configuration.GetSection("CSS_USERNAME").Value, configuration.GetSection("CSS_USERPASSWORD").Value, configuration.GetSection("CSS_ACCOUNT").Value ); new DoStuff().Do(); Console.WriteLine("Done."); }
// getArgs :: IO (List Chars) // putStrLn :: Chars -> IO () // readFile :: FilePath -> IO Chars // lines :: Chars -> List Chars // void :: IO a -> IO () // execCommand :: Command -> CommandMonad<CommandResult> public static ConConnection Connect(ConConnectionInfo connection) { }