squarescale / squarescale-cli

CLI for squarescale
0 stars 0 forks source link

it would be easier to also specify environment variables via command line instead of JSON file for service set #150

Closed obourdon closed 1 year ago

obourdon commented 1 year ago

Currently, this is done via

  sqsc service set                \
      -project="my-rails-project" \
      -service="my-name/my-repo"  \
      -instances=42               \
      -env=env.json

but it could also be nice to allow multiple cmd line parameters like:

  sqsc service set                \
      -project="my-rails-project" \
      -service="my-name/my-repo"  \
      -instances=42               \
      -env-param="p1=v1"          \
      -env-param="p2=v2"          \
     ...
obourdon commented 1 year ago

WIP in new branch fixes

obourdon commented 1 year ago

Fixed in https://github.com/squarescale/squarescale-cli/pull/153