lib/geet/commandline/configuration.rb in geet-0.3.13 vs lib/geet/commandline/configuration.rb in geet-0.3.14
- old
+ new
@@ -47,10 +47,15 @@
MILESTONE_LIST_OPTIONS = [
['-u', '--upstream', 'List on the upstream repository'],
].freeze
+ PR_COMMENT_OPTIONS = [
+ 'comment',
+ long_help: 'Add a comment to the PR for the current branch.'
+ ]
+
PR_CREATE_OPTIONS = [
['-A', '--automated-mode', "Automate the branch operations (see long help)"],
['-n', '--no-open-pr', "Don't open the PR link in the browser after creation"],
['-b', '--base develop', "Specify the base branch; defaults to `master`"],
['-l', '--labels "legacy,code review"', 'Labels'],
@@ -99,9 +104,10 @@
},
'milestone' => {
'list' => MILESTONE_LIST_OPTIONS,
},
'pr' => {
+ 'comment' => PR_COMMENT_OPTIONS,
'create' => PR_CREATE_OPTIONS,
'list' => PR_LIST_OPTIONS,
'merge' => PR_MERGE_OPTIONS,
'open' => PR_OPEN_OPTIONS,
},