Class: Ptf::Cli::Application

Inherits:
Thor
  • Object
show all
Defined in:
lib/ptf/client.rb

Instance Method Summary collapse

Instance Method Details

#initObject



18
19
20
# File 'lib/ptf/client.rb', line 18

def init
  puts Ptf::Commands::Init.init(options[:f])
end

#list(delimiter) ⇒ Object



31
32
33
# File 'lib/ptf/client.rb', line 31

def list(delimiter)
  puts Ptf::Commands::List.list(delimiter, options[:open], options[:closed])
end