cleanup: move from apps to apps:list subcommand for tests and docs
This commit is contained in:
1 parent
cd3e637387
commit
d73c07de68
2 files changed
+11
-8
No files matched your search
@@ -3,10 +3,10 @@
|
|||||||
> New as of 0.3.1
|
> New as of 0.3.1
|
||||||
|
|
||||||
```
|
```
|
||||||
apps # List your apps
|
|
||||||
apps:clone <old-app> <new-app> # Clones an app
|
apps:clone <old-app> <new-app> # Clones an app
|
||||||
apps:create <app> # Create a new app
|
apps:create <app> # Create a new app
|
||||||
apps:destroy <app> # Permanently destroy an app
|
apps:destroy <app> # Permanently destroy an app
|
||||||
|
apps:list # List your apps
|
||||||
apps:rename <old-app> <new-app> # Rename an app
|
apps:rename <old-app> <new-app> # Rename an app
|
||||||
apps:report [<app>] [<flag>] # Display report about an app
|
apps:report [<app>] [<flag>] # Display report about an app
|
||||||
```
|
```
|
||||||
@@ -15,10 +15,12 @@ apps:report [<app>] [<flag>] # Display report about an app
|
|||||||
|
|
||||||
### Listing Applications
|
### Listing Applications
|
||||||
|
|
||||||
You can easily list all available applications using the `apps` command:
|
> New as of 0.8.1. Use the `apps` command for older versions.
|
||||||
|
|
||||||
|
You can easily list all available applications using the `apps:list` command:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dokku apps
|
dokku apps:list
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -30,7 +32,7 @@ python-app
|
|||||||
Note that you can easily hide extra output from Dokku commands by using the `--quiet` flag, which makes it easier to parse on the command-line.
|
Note that you can easily hide extra output from Dokku commands by using the `--quiet` flag, which makes it easier to parse on the command-line.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dokku --quiet apps
|
dokku --quiet apps:list
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -179,6 +181,7 @@ dokku apps:report node-js-sample
|
|||||||
```
|
```
|
||||||
|
|
||||||
You can pass flags which will output only the value of the specific information you want. For example:
|
You can pass flags which will output only the value of the specific information you want. For example:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dokku apps:report node-js-sample --git-sha
|
dokku apps:report node-js-sample --git-sha
|
||||||
```
|
```
|
||||||
@@ -15,7 +15,7 @@ teardown () {
|
|||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_success
|
assert_success
|
||||||
run bash -c "dokku apps | grep $TEST_APP"
|
run bash -c "dokku apps:list | grep $TEST_APP"
|
||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_output $TEST_APP
|
assert_output $TEST_APP
|
||||||
@@ -36,7 +36,7 @@ teardown () {
|
|||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_success
|
assert_success
|
||||||
run bash -c "dokku apps | grep $TEST_APP"
|
run bash -c "dokku apps:list | grep $TEST_APP"
|
||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_output $TEST_APP
|
assert_output $TEST_APP
|
||||||
@@ -64,7 +64,7 @@ teardown () {
|
|||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_success
|
assert_success
|
||||||
run bash -c "dokku apps | grep $TEST_APP"
|
run bash -c "dokku apps:list | grep $TEST_APP"
|
||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_output ""
|
assert_output ""
|
||||||
@@ -97,7 +97,7 @@ teardown () {
|
|||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_success
|
assert_success
|
||||||
run bash -c "dokku apps | grep $TEST_APP"
|
run bash -c "dokku apps:list | grep $TEST_APP"
|
||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_success
|
assert_success
|
||||||
|
|||||||
Reference in new issue
Block a user