class Dapp::CLI::Command::Slug

Public Instance Methods

log_running_time() click to toggle source
# File lib/dapp/cli/command/slug.rb, line 20
def log_running_time
  false
end
run(argv = ARGV) click to toggle source
# File lib/dapp/cli/command/slug.rb, line 12
def run(argv = ARGV)
  self.class.parse_options(self, argv)
  str = self.class.required_argument(self, 'string')
  run_dapp_command(nil, options: cli_options) do |dapp|
    dapp.slug([cli_arguments, str].flatten.join(' '))
  end
end