lib/datapimp/cli/config.rb in datapimp-1.2.1 vs lib/datapimp/cli/config.rb in datapimp-1.2.2

- old
+ new

@@ -1,7 +1,7 @@ command 'config' do |c| - c.syntax = "datapimp config [OPTIONS]" + c.syntax = "#{$datapimp_cli} config [OPTIONS]" c.description = "Shows the configuration options being used" c.option '--env', "Output compatible with .env files" c.action do |args, options| @@ -14,10 +14,10 @@ end end end command 'config set' do |c| - c.syntax = 'datapimp config set KEY=VALUE KEY=VALUE [options]' + c.syntax = "#{$datapimp_cli} config set KEY=VALUE KEY=VALUE [options]" c.description = 'manipulate configuration settings' c.option '--global', 'Set the configuration globally' c.option '--local', 'Set the configuration globally'