Class: TokenHawk::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/token_hawk/cli.rb,
lib/token_hawk/cli/formatter.rb,
lib/token_hawk/cli/commands/costs.rb,
lib/token_hawk/cli/commands/recent.rb,
lib/token_hawk/cli/commands/efficiency.rb

Defined Under Namespace

Modules: Commands, Formatter

Instance Method Summary collapse

Instance Method Details

#costs ⇒ Object



13
14
15
# File 'lib/token_hawk/cli.rb', line 13

def costs
  Commands::Costs.new(options).run
end

#efficiency ⇒ Object



19
20
21
# File 'lib/token_hawk/cli.rb', line 19

def efficiency
  Commands::Efficiency.new(options).run
end

#recent ⇒ Object



26
27
28
# File 'lib/token_hawk/cli.rb', line 26

def recent
  Commands::Recent.new(options).run
end