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."); } }
public void Add(AddArguments arguments) { Configuration.Upsert(arguments.ToEntryName(), arguments.ToModel()); Console.WriteLine("> App added."); }