Method: SubCommand#initialize
- Defined in:
- lib/cnvrg/cli/subcommand.rb
#initialize(*args) ⇒ SubCommand
Returns a new instance of SubCommand.
5 6 7 8 9 10 11 |
# File 'lib/cnvrg/cli/subcommand.rb', line 5 def initialize(*args) super @cli = Cnvrg::CLI.new @curr_dir = @cli.is_cnvrg_dir @config = YAML.load_file(@curr_dir + "/.cnvrg/config.yml") if @curr_dir @helpers = Cnvrg::OrgHelpers.new(); end |