Add alias for prune and remove vebosity from boot

This commit is contained in:
Schulte, Timmo (IIT-CI/Customer Interaction) 2022-06-14 10:51:19 +02:00
parent f90cbc2de9
commit bba516d580
2 changed files with 14 additions and 12 deletions

View file

@ -12,13 +12,14 @@ plugins=(... spryker)
## Aliases ## Aliases
| Alias | Command | Description | | Alias | Command | Description |
|-----------|--------------------------------|-----------------------------------------| |-----------|--------------------------------|-----------------------------------------------|
| `spk` | docker/sdk | Runs the Spryker SDK | | `spk` | docker/sdk | Runs the Spryker SDK |
| `spkc` | spk console | Runs a Spryker console command | | `spkc` | spk console | Runs a Spryker console command |
| `spkb` | spk boot -v | Bootstrap spryker with a deploy file | | `spkb` | spk boot | Bootstrap spryker with a deploy file |
| `spkt` | spk testing | Starts a testing container | | `spkt` | spk testing | Starts a testing container |
| `spku` | spk up | Builds and runs Spryker applications | | `spku` | spk up | Builds and runs Spryker applications |
| `spkup` | spk up --build --assets --data | Same as up + build, assets and data | | `spkup` | spk up --build --assets --data | Same as up + build, assets and data |
| `spkcli` | spk cli | Starts a terminal container | | `spkcli` | spk cli | Starts a terminal container |
| `spkcc` | spk clean && spk clean-data | Removes all images, volumes and storage | | `spkcc` | spk clean && spk clean-data | Removes all images, volumes and storage |
| `spkl` | spk logs | Tails all application exception logs | | `spkl` | spk logs | Tails all application exception logs |
| `spkp` | spk prune | Remove all docker resources. Wipe everything. |

View file

@ -9,7 +9,7 @@ _spryker_sdk () {
} }
_spryker_sdk_boot () { _spryker_sdk_boot () {
echo "$(_spryker) boot -v" echo "$(_spryker) boot"
} }
_spryker_sdk_console () { _spryker_sdk_console () {
@ -45,3 +45,4 @@ alias spkup='spk up --build --assets --data'
alias spkcli='spk cli' alias spkcli='spk cli'
alias spkcc='spk clean && spk clean-data' alias spkcc='spk clean && spk clean-data'
alias spkl='spk logs' alias spkl='spk logs'
alias spkp='spk prune'