mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-05-11 05:55:17 +00:00
nanoc: update to latest version (#7282)
* nanoc: update command aliases - remove deprecated commands - update `create-site` - add `prune` * nanoc: update README * nanoc: update autompletion - update commands - add flag options to subcommands
This commit is contained in:
committed by
Marc Cornellà
parent
2fce9a4d44
commit
a2dab42c35
@@ -10,14 +10,11 @@ plugins=(... nanoc)
|
||||
|
||||
## Aliases
|
||||
|
||||
| Alias | Command | Description |
|
||||
|-------|-----------------------|----------------------------------------------------|
|
||||
| n | `nanoc` | Main Nanoc command |
|
||||
| na | `nanoc autocompile` | The autocompile command has been deprecated since Nanoc 3.6. Use [guard-nanoc](https://github.com/nanoc/nanoc/tree/master/guard-nanoc) instead. |
|
||||
| nco | `nanoc compile` | Compile all items of the current site. |
|
||||
| nci | `nanoc create_item` | Command was deprecated in Nanoc v.3 and completely removed in v.4 |
|
||||
| ncl | `nanoc create_layout` | Command was deprecated in Nanoc v.3 and completely removed in v.4 |
|
||||
| ncs | `nanoc create_site` | Create a new site at the given path. The site will use the filesystem data source. |
|
||||
| nd | `nanoc deploy` | Deploys the compiled site. The compiled site contents in the output directory will be uploaded to the destination, which is specified using the --target option. |
|
||||
| nv | `nanoc view` | Start the static web server. Unless specified, the web server will run on port 3000 and listen on all IP addresses. |
|
||||
| nw | `nanoc watch` | The watch command has been deprecated since Nanoc 3.6. Use [guard-nanoc](https://github.com/nanoc/nanoc/tree/master/guard-nanoc) instead. |
|
||||
| Alias | Command | Description |
|
||||
|-------|-----------------------|-----------------------------------------------------------------------------------|
|
||||
| n | `nanoc` | Main Nanoc command |
|
||||
| nco | `nanoc compile` | Compile all items of the current site |
|
||||
| ncs | `nanoc create-site` | Create a new site at the given path. The site will use the filesystem data source |
|
||||
| nd | `nanoc deploy` | Deploy the compiled site to the destination (specified with `--target`) |
|
||||
| np | `nanoc prune` | Remove files not managed by Nanoc from the output directory |
|
||||
| nv | `nanoc view` | Start the static web server (on port 3000 and all IP addresses, unless specified) |
|
||||
|
||||
Reference in New Issue
Block a user