From bba516d580d18acb5adf6b347e7e71bc0b870af7 Mon Sep 17 00:00:00 2001 From: "Schulte, Timmo (IIT-CI/Customer Interaction)" Date: Tue, 14 Jun 2022 10:51:19 +0200 Subject: [PATCH] Add alias for prune and remove vebosity from boot --- plugins/spryker/README.md | 23 ++++++++++++----------- plugins/spryker/spryker.plugin.zsh | 3 ++- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/plugins/spryker/README.md b/plugins/spryker/README.md index 8aee575c7..223729b33 100644 --- a/plugins/spryker/README.md +++ b/plugins/spryker/README.md @@ -11,14 +11,15 @@ plugins=(... spryker) ## Aliases -| Alias | Command | Description | -|-----------|--------------------------------|-----------------------------------------| -| `spk` | docker/sdk | Runs the Spryker SDK | -| `spkc` | spk console | Runs a Spryker console command | -| `spkb` | spk boot -v | Bootstrap spryker with a deploy file | -| `spkt` | spk testing | Starts a testing container | -| `spku` | spk up | Builds and runs Spryker applications | -| `spkup` | spk up --build --assets --data | Same as up + build, assets and data | -| `spkcli` | spk cli | Starts a terminal container | -| `spkcc` | spk clean && spk clean-data | Removes all images, volumes and storage | -| `spkl` | spk logs | Tails all application exception logs | +| Alias | Command | Description | +|-----------|--------------------------------|-----------------------------------------------| +| `spk` | docker/sdk | Runs the Spryker SDK | +| `spkc` | spk console | Runs a Spryker console command | +| `spkb` | spk boot | Bootstrap spryker with a deploy file | +| `spkt` | spk testing | Starts a testing container | +| `spku` | spk up | Builds and runs Spryker applications | +| `spkup` | spk up --build --assets --data | Same as up + build, assets and data | +| `spkcli` | spk cli | Starts a terminal container | +| `spkcc` | spk clean && spk clean-data | Removes all images, volumes and storage | +| `spkl` | spk logs | Tails all application exception logs | +| `spkp` | spk prune | Remove all docker resources. Wipe everything. | diff --git a/plugins/spryker/spryker.plugin.zsh b/plugins/spryker/spryker.plugin.zsh index a5919af16..112dc5956 100644 --- a/plugins/spryker/spryker.plugin.zsh +++ b/plugins/spryker/spryker.plugin.zsh @@ -9,7 +9,7 @@ _spryker_sdk () { } _spryker_sdk_boot () { - echo "$(_spryker) boot -v" + echo "$(_spryker) boot" } _spryker_sdk_console () { @@ -45,3 +45,4 @@ alias spkup='spk up --build --assets --data' alias spkcli='spk cli' alias spkcc='spk clean && spk clean-data' alias spkl='spk logs' +alias spkp='spk prune'