lib/neetob/cli/users/commands.rb in neetob-0.2.7 vs lib/neetob/cli/users/commands.rb in neetob-0.3.0
- old
+ new
@@ -12,10 +12,10 @@
def audit
Audit.new(options[:sandbox]).run
end
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\", also providing \"all\" as value matches all neeto repos."
+ option :apps, type: :array, aliases: "-a", default: ["*"], desc: "Github app names. Can be matched using the '*' wildcard. Example: \"neeto*\" \"neeto-cal-web\", also providing \"all\" as value matches all neeto apps."
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\""
def commits
Commits.new(
options[:author], options[:duration], options[:apps], options[:sandbox]).run