Beispiel #1
0
        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.");
        }
Beispiel #2
0
        // 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)
        {
        }