lib/jets/cli.rb
# The commands new and help do not call Jets.boot. Main reason is that
# Jets.boot are ran inside a Jets project folder.
#
# * jets new - need to generate a project outside a project folder.
# * jets help - don't need to be in a project folder general help.
#   When you are inside a project folder though, more help commands
#   are available and displayed.
#
The commands new and help do not call Jets.boot. Main reason is that
Jets.boot are ran inside a Jets project folder.

jets new - need to generate a project outside a project folder.
jets help - don't need to be in a project folder general help.
When you are inside a project folder though, more help commands
are available and displayed.
The commands new and help do not call Jets . boot . Main reason is that Jets . boot are ran inside a Jets project folder . jets new - need to generate a project outside a project folder . jets help - don ' t need to be in a project folder general help . When you are inside a project folder though more help commands are available and displayed .
def boot_jets
    command = thor_args.first
    if !%w[new help].include?(command)
      set_jets_env_for_deploy_command!
      Jets.boot
    end
  end
def boot_jets command = thor_args . first if ! %w[ new help ] . include? ( command ) set_jets_env_for_deploy_command! Jets . boot end end
The commands new and help do not call Jets.boot.
The commands new and help do not call Jets . boot .