lib/geet/commandline/configuration.rb in geet-0.3.14 vs lib/geet/commandline/configuration.rb in geet-0.3.15
- old
+ new
@@ -43,15 +43,21 @@
LABEL_LIST_OPTIONS = [
['-u', '--upstream', 'List on the upstream repository'],
].freeze
+ MILESTONE_CREATE_OPTIONS = [
+ 'title',
+ long_help: 'Create a milestone.'
+ ]
+
MILESTONE_LIST_OPTIONS = [
['-u', '--upstream', 'List on the upstream repository'],
].freeze
PR_COMMENT_OPTIONS = [
+ ['-n', '--no-open-pr', "Don't open the PR link in the browser after creation"],
'comment',
long_help: 'Add a comment to the PR for the current branch.'
]
PR_CREATE_OPTIONS = [
@@ -101,9 +107,10 @@
'label' => {
'create' => LABEL_CREATE_OPTIONS,
'list' => LABEL_LIST_OPTIONS,
},
'milestone' => {
+ 'create' => MILESTONE_CREATE_OPTIONS,
'list' => MILESTONE_LIST_OPTIONS,
},
'pr' => {
'comment' => PR_COMMENT_OPTIONS,
'create' => PR_CREATE_OPTIONS,