Class: Bashly::Commands::Doc

Inherits:
Base
  • Object
show all
Defined in:
lib/bashly/commands/doc.rb

Instance Method Summary collapse

Methods inherited from Base

#config, #config_validator, #validate_config, #with_valid_config

Methods included from AssetHelper

#asset, #asset_content

Instance Method Details

#runObject



17
18
19
20
21
22
23
# File 'lib/bashly/commands/doc.rb', line 17

def run
  if args['--index']
    puts data.keys
  else
    show
  end
end