Sha256: d8075ac8eae55b5c26c172e500d5697f4feffaa2253939d15035e9549371176e
Contents?: true
Size: 1.54 KB
Versions: 45
Compression:
Stored size: 1.54 KB
Contents
Sets a current service to remember so you do not have to provide the service name all the time. This shortens the commands ufo ship demo-web # before ufo current --service demo-web ufo ship # after The state information is written to `.ufo/current`. ## Examples ### summary ufo current --service demo-web --env-extra 1 ufo current --service demo-web --env-extra 1 --services demo-web demo-worker ufo current --service demo-web --env-extra '' ufo current --service demo-web ufo current --env-extra '1' ### service To set current service: ufo current --service demo-web ufo current --service demo-worker ufo current --service demo-web To view current service, run `ufo current` without any arguments. $ ufo current Current service: demo-web To remove current service: ufo current --service '' ### env-extra To also set a current `UFO_ENV_EXTRA`. ufo current --env-extra 1 The extra env setting will be reflected: $ ufo current Current service: demo-web Current env_extra: 1 The `UFO_ENV_EXTRA` variable takes higher precedence than the current setting in the saved file. To unset: ufo current --env-extra '' ### services The ufo ships command builds one docker image and deploys it to multiple ECS services. You can also have ufo remember what services to use with the current command. ufo current --services demo-web demo-worker ufo ships # will depoy to both demo-web and demo-worker ### rm all To remove all current settings use the `--rm` option. ufo current --rm
Version data entries
45 entries across 45 versions & 1 rubygems