lib/modulesync/cli.rb in modulesync-0.9.0 vs lib/modulesync/cli.rb in modulesync-0.10.0
- old
+ new
@@ -83,9 +83,19 @@
:default => false
option :noop,
:type => :boolean,
:desc => 'No-op mode',
:default => false
+ option :pr,
+ :type => :boolean,
+ :desc => 'Submit GitHub PR',
+ :default => false
+ option :pr_title,
+ :desc => 'Title of GitHub PR',
+ :default => CLI.defaults[:pr_title] || 'Update to module template files'
+ option :pr_labels,
+ :desc => 'Labels to add to the GitHub PR',
+ :default => CLI.defaults[:pr_labels] || []
option :offline,
:type => :boolean,
:desc => 'Do not run any Git commands. Allows the user to manage Git outside of ModuleSync.',
:default => false
option :bump,