Method: Cnvrg::Commands::Flow#initialize

Defined in:
lib/cnvrg/cli/flow.rb

#initialize(*args) ⇒ Flow

Returns a new instance of Flow.



13
14
15
16
17
18
19
# File 'lib/cnvrg/cli/flow.rb', line 13

def initialize(*args)
  super
  unless @curr_dir.present?
    @cli.log_message("Not On Project Dir, exiting", Thor::Color::RED)
    exit(1)
  end
end