jack icon indicating copy to clipboard operation
jack copied to clipboard

Use with hyphenated environments

Open benswinburne opened this issue 8 years ago • 1 comments

I have an application called let's say Ben, and an environment called ben-staging, so I use

jack get Ben-web-ben-staging

But I just get

ERROR: Environment Ben-web-ben-staging not found. Are you sure it exists?

How do I go about using this with both applications and environments which use hyphenated names?

benswinburne avatar Dec 28 '17 19:12 benswinburne

You can use the --app parameter, or edit lib/jack/util.rb to disable the naming conventions feature

  def app_name_convention(env_name)
    env_name
  end

shaicoleman avatar Jan 28 '20 09:01 shaicoleman