Class: Datahen::CLI::AccountDeployKey

Inherits:
Thor
  • Object
show all
Defined in:
lib/datahen/cli/account_deploy_key.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details



5
6
7
# File 'lib/datahen/cli/account_deploy_key.rb', line 5

def self.banner(command, namespace = nil, subcommand = false)
  "#{basename} #{@package_name} #{command.usage}"
end

Instance Method Details

#recreateObject



19
20
21
22
# File 'lib/datahen/cli/account_deploy_key.rb', line 19

def recreate()
  client = Client::DeployKey.new()
  puts "#{client.create()}"
end

#showObject



10
11
12
13
# File 'lib/datahen/cli/account_deploy_key.rb', line 10

def show()
  client = Client::DeployKey.new()
  puts "#{client.find()}"
end