lib/stove/cli.rb in stove-3.2.6 vs lib/stove/cli.rb in stove-3.2.7
- old
+ new
@@ -114,10 +114,14 @@
opts.on('--key [PATH]', 'Path to the private key on disk') do |v|
options[:key] = v
end
+ opts.on('--extended-metadata', 'Include non-backwards compatible metadata keys such as `issues_url`') do
+ options[:extended_metadata] = true
+ end
+
opts.separator ''
opts.separator 'Git Options:'
opts.on('--remote [REMOTE]', 'Name of the git remote') do |v|
options[:remote] = v
@@ -159,12 +163,13 @@
#
# @return [Hash]
def options
@options ||= {
# Upload options
- :endpoint => nil,
- :username => Config.username,
- :key => Config.key,
+ :endpoint => nil,
+ :username => Config.username,
+ :key => Config.key,
+ :extended_metadata => false,
# Git options
:remote => 'origin',
:branch => 'master',
:sign => false,