chore: drop all references to all commands where possible.
This commit is contained in:
1 parent
28a36c4908
commit
a19efc1cfa
5 files changed
+9
-7
No files matched your search
@@ -140,7 +140,7 @@ main() {
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
[[ " apps certs help ls nginx shell storage trace version " == *" $CMD "* ]] && unset APP
|
[[ " apps certs help ls nginx shell storage trace version " == *" $CMD "* ]] && unset APP
|
||||||
[[ " certs:chain domains:add-global domains:remove-global domains:set-global ps:rebuildall ps:restartall ps:restore ps:startall ps:stopall " == *" $CMD "* ]] && unset APP
|
[[ " certs:chain domains:add-global domains:remove-global domains:set-global ps:restore " == *" $CMD "* ]] && unset APP
|
||||||
[[ "$CMD" =~ events*|plugin*|ssh-keys* ]] && unset APP
|
[[ "$CMD" =~ events*|plugin*|ssh-keys* ]] && unset APP
|
||||||
[[ -n "$APP_ARG" ]] && [[ "$APP_ARG" == "--global" ]] && unset APP
|
[[ -n "$APP_ARG" ]] && [[ "$APP_ARG" == "--global" ]] && unset APP
|
||||||
[[ -n "$@" ]] && [[ -n "$APP" ]] && app_arg="--app $APP"
|
[[ -n "$@" ]] && [[ -n "$APP" ]] && app_arg="--app $APP"
|
||||||
|
|||||||
@@ -1254,7 +1254,7 @@ verify_app_name "$APP"
|
|||||||
### `post-stop`
|
### `post-stop`
|
||||||
|
|
||||||
- Description: Can be used to run commands after an app is manually stopped
|
- Description: Can be used to run commands after an app is manually stopped
|
||||||
- Invoked by: `dokku ps:stop` and `dokku ps:stopall`
|
- Invoked by: `dokku ps:stop`
|
||||||
- Arguments: `$APP`
|
- Arguments: `$APP`
|
||||||
- Example:
|
- Example:
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ All applications should be stopped, and all docker containers and images deleted
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
# stop all applications
|
# stop all applications
|
||||||
dokku ps:stopall
|
dokku ps:stop --all
|
||||||
|
|
||||||
# cleanup containers and images
|
# cleanup containers and images
|
||||||
dokku cleanup
|
dokku cleanup
|
||||||
|
|||||||
@@ -45,7 +45,9 @@ Why do we recommend stopping all apps?
|
|||||||
may happen in minor or major releases.
|
may happen in minor or major releases.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# for 0.11.4 and newer versions, use:
|
# for 0.22.0 and newer versions, use
|
||||||
|
|
||||||
|
# for versions between 0.11.4 and 0.21.4, use
|
||||||
dokku ps:stopall
|
dokku ps:stopall
|
||||||
|
|
||||||
# for versions between 0.8.1 and 0.11.3, use
|
# for versions between 0.8.1 and 0.11.3, use
|
||||||
@@ -61,10 +63,10 @@ After upgrading, you should rebuild the applications to take advantage of any
|
|||||||
new buildpacks that were released:
|
new buildpacks that were released:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dokku ps:rebuildall
|
dokku ps:rebuild --all
|
||||||
```
|
```
|
||||||
|
|
||||||
> If you have any applications deployed via the `tags` or `tar` commands, do not run the `ps:rebuildall` command,
|
> If you have any applications deployed via the `tags` or `tar` commands, do not run the `ps:rebuild --all` command,
|
||||||
> and instead trigger `ps:rebuild` manually for each `git`-deployed application:
|
> and instead trigger `ps:rebuild` manually for each `git`-deployed application:
|
||||||
>
|
>
|
||||||
> ```
|
> ```
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
SUBCOMMANDS = subcommands/inspect subcommands/rebuild subcommands/rebuildall subcommands/report subcommands/restart subcommands/restart-policy subcommands/restartall subcommands/restore subcommands/retire subcommands/scale subcommands/set subcommands/start subcommands/startall subcommands/stop subcommands/stopall
|
SUBCOMMANDS = subcommands/inspect subcommands/rebuild subcommands/report subcommands/restart subcommands/restart-policy subcommands/restore subcommands/retire subcommands/scale subcommands/set subcommands/start subcommands/stop
|
||||||
TRIGGERS = triggers/app-restart triggers/install triggers/post-app-clone triggers/post-app-rename triggers/post-create triggers/post-delete triggers/post-stop triggers/pre-deploy triggers/procfile-extract triggers/procfile-get-command triggers/procfile-remove triggers/report
|
TRIGGERS = triggers/app-restart triggers/install triggers/post-app-clone triggers/post-app-rename triggers/post-create triggers/post-delete triggers/post-stop triggers/pre-deploy triggers/procfile-extract triggers/procfile-get-command triggers/procfile-remove triggers/report
|
||||||
BUILD = commands subcommands triggers
|
BUILD = commands subcommands triggers
|
||||||
PLUGIN_NAME = ps
|
PLUGIN_NAME = ps
|
||||||
|
|||||||
Reference in new issue
Block a user