bin/learn-config in learn-config-0.0.1 vs bin/learn-config in learn-config-0.0.2

- old
+ new

@@ -1,5 +1,14 @@ #!/usr/bin/env ruby require 'learn_config' -LearnConfig::Setup.run +KNOWN_COMMANDS = [ + '--reset', + '--whoami' +] + +ARGV.map! do |arg| + KNOWN_COMMANDS.include?(arg) ? arg : nil +end.compact! + +LearnConfig::Setup.run(ARGV)