lib/modulesync/cli.rb in modulesync-1.2.0 vs lib/modulesync/cli.rb in modulesync-1.3.0
- old
+ new
@@ -65,10 +65,12 @@
:default => CLI.defaults[:message]
option :configs,
:aliases => '-c',
:desc => 'The local directory or remote repository to define the list of managed modules,' \
' the file templates, and the default values for template variables.'
+ option :managed_modules_conf,
+ :desc => 'The file name to define the list of managed modules'
option :remote_branch,
:aliases => '-r',
:desc => 'Remote branch name to push the changes to. Defaults to the branch name.',
:default => CLI.defaults[:remote_branch]
option :skip_broken,
@@ -97,9 +99,12 @@
:default => CLI.defaults[:pr_title] || 'Update to module template files'
option :pr_labels,
:type => :array,
:desc => 'Labels to add to the pull/merge request',
:default => CLI.defaults[:pr_labels] || []
+ option :pr_target_branch,
+ :desc => 'Target branch for the pull/merge request',
+ :default => CLI.defaults[:pr_target_branch] || 'master'
option :offline,
:type => :boolean,
:desc => 'Do not run any Git commands. Allows the user to manage Git outside of ModuleSync.',
:default => false
option :bump,