lib/pennyworth/cli.rb in pennyworth-8.2.0 vs lib/pennyworth/cli.rb in pennyworth-8.2.1
- old
+ new
@@ -108,14 +108,16 @@
desc "-c, [--config]", "Manage gem configuration."
map %w[-c --config] => :config
method_option :edit,
aliases: "-e",
desc: "Edit gem configuration.",
- type: :boolean, default: false
+ type: :boolean,
+ default: false
method_option :info,
aliases: "-i",
desc: "Print gem configuration.",
- type: :boolean, default: false
+ type: :boolean,
+ default: false
def config
path = self.class.configuration.path
if options.edit? then `#{ENV["EDITOR"]} #{path}`
elsif options.info?