lib/neetob/cli/users/commands.rb in neetob-0.1.2 vs lib/neetob/cli/users/commands.rb in neetob-0.1.4

- old
+ new

@@ -15,13 +15,15 @@ desc "commits", "List the commits of a user across the neeto apps" option :apps, type: :array, aliases: "-a", default: ["*"], desc: "Github app names. Can be matched using the '*' wildcard. Example: \"neeto*\" \"neeto-cal-web\"" option :author, type: :string, required: true, desc: "Github username of the person whose commits you want to list" option :duration, type: :string, required: true, desc: "Duration for which you want to list the commits. Example: \"6.months\" \"10.days\"" + option :all_neeto_repos, type: :boolean, aliases: "--all", + desc: "Use this flag for working with all neeto repos", default: false def commits Commits.new( options[:author], options[:duration], options[:apps], - options[:sandbox]).run + options[:sandbox], options[:all_neeto_repos]).run end end end end end