Esempio n. 1
0
            public void Add(AddArguments arguments)
            {
                configuration.Upsert(arguments.ToEntryName(), arguments.ToModel());

                if (arguments.Use)
                {
                    configuration.UseApp(arguments.Name);

                    log.WriteLine("> App added and selected.");
                }
                else
                {
                    log.WriteLine("> App added.");
                }
            }
Esempio n. 2
0
            public void Add(AddArguments arguments)
            {
                Configuration.Upsert(arguments.ToEntryName(), arguments.ToModel());

                Console.WriteLine("> App added.");
            }