Skip to main content
Version: v4.5.0

stk update env

caution

This command is deprecated and is no longer available to use.

The stk update env is responsible for updating the stages of the application (app) created, based on the stages in the env (environment).

How does it work?

It compares the stages of the env added to the app, and if there have been any added files in the env created, the stk update env updates the app stages.

The command works in two ways:

  1. The user types the stk update env command in the app's folder;
  2. The user types the stk update env -target /path/app command in any folder.
  • In this case, the --target must point to the folder the app is in.
caution

This command does not modify the contents of files that have already been created. It only adds or updates the new files in the app.

Example

See an example below:

  1. Update the stages of an app:
stk update env

See more

Was this page helpful?