mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-11-11 11:11:50 -05:00
feat(bridgetown)!: update aliases for current CLI (#14197)
BREAKING CHANGE: aliases updated for the latest bridgetown version (2.2.2). Check out the plugin README for the changes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Bridgetown plugin
|
# Bridgetown plugin
|
||||||
|
|
||||||
This plugin adds some aliases and autocompletion for common [Bridgetown](https://bridgetownrb.com/) commands.
|
This plugin adds aliases for common [Bridgetown](https://www.bridgetownrb.com/) commands.
|
||||||
|
|
||||||
To use it, add `bridgetown` to the plugins array in your zshrc file:
|
To use it, add `bridgetown` to the plugins array in your zshrc file:
|
||||||
|
|
||||||
@@ -10,17 +10,27 @@ plugins=(... bridgetown)
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
| Alias | Command |
|
Most aliases use the project's `bin/bridgetown` executable so the command runs with the Bridgetown version
|
||||||
|-------|----------------------------|
|
locked in its `Gemfile`. The `br` and `brn` aliases use the globally installed executable and can be run
|
||||||
| br | `bridgetown` |
|
outside a Bridgetown project.
|
||||||
| bra | `bin/bridgetown apply` |
|
|
||||||
| brb | `bin/bridgetown build` |
|
| Alias | Command | Description |
|
||||||
| brc | `bin/bridgetown console` |
|
| --------- | ---------------------------- | ---------------------------------------- |
|
||||||
| brclean | `bin/bridgetown clean` |
|
| `br` | `bridgetown` | Run the globally installed CLI |
|
||||||
| brd | `bin/bridgetown deploy` |
|
| `bra` | `bin/bridgetown apply` | Apply an automation |
|
||||||
| brdoc | `bin/bridgetown doctor` |
|
| `brb` | `bin/bridgetown build` | Build the site |
|
||||||
| brh | `bin/bridgetown help` |
|
| `brc` | `bin/bridgetown console` | Open the Bridgetown console |
|
||||||
| brn | `bridgetown new` |
|
| `brclean` | `bin/bridgetown clean` | Remove generated files and caches |
|
||||||
| brp | `bridgetown plugins` |
|
| `brco` | `bin/bridgetown configure` | Apply a bundled configuration |
|
||||||
| brpl | `bridgetown plugins list` |
|
| `brd` | `bin/bridgetown deploy` | Run the project's deployment task |
|
||||||
| brs | `bin/bridgetown start` |
|
| `brdev` | `bin/bridgetown dev` | Start the development server |
|
||||||
|
| `bre` | `bin/bridgetown esbuild` | Manage the esbuild configuration |
|
||||||
|
| `brh` | `bin/bridgetown help` | Show command help |
|
||||||
|
| `brn` | `bridgetown new` | Create a new Bridgetown site |
|
||||||
|
| `brp` | `bin/bridgetown plugins` | Access plugin commands |
|
||||||
|
| `brpl` | `bin/bridgetown plugins list` | List installed plugins |
|
||||||
|
| `brs` | `bin/bridgetown start` | Start the development server |
|
||||||
|
| `brt` | `bin/bridgetown test` | Run the project's test build task |
|
||||||
|
|
||||||
|
`deploy` and `test` are standard tasks from the `Rakefile` generated for a new Bridgetown site. If the project
|
||||||
|
customizes or removes those tasks, the corresponding aliases follow that project behavior.
|
||||||
|
|||||||
@@ -3,10 +3,13 @@ alias bra='bin/bridgetown apply'
|
|||||||
alias brb='bin/bridgetown build'
|
alias brb='bin/bridgetown build'
|
||||||
alias brc='bin/bridgetown console'
|
alias brc='bin/bridgetown console'
|
||||||
alias brclean='bin/bridgetown clean'
|
alias brclean='bin/bridgetown clean'
|
||||||
|
alias brco='bin/bridgetown configure'
|
||||||
alias brd='bin/bridgetown deploy'
|
alias brd='bin/bridgetown deploy'
|
||||||
alias brdoc='bin/bridgetown doctor'
|
alias brdev='bin/bridgetown dev'
|
||||||
|
alias bre='bin/bridgetown esbuild'
|
||||||
alias brh='bin/bridgetown help'
|
alias brh='bin/bridgetown help'
|
||||||
alias brn='bridgetown new'
|
alias brn='bridgetown new'
|
||||||
alias brp='bridgetown plugins'
|
alias brp='bin/bridgetown plugins'
|
||||||
alias brpl='bridgetown plugins list'
|
alias brpl='bin/bridgetown plugins list'
|
||||||
alias brs='bin/bridgetown start'
|
alias brs='bin/bridgetown start'
|
||||||
|
alias brt='bin/bridgetown test'
|
||||||
|
|||||||
Reference in New Issue
Block a user