Update nanoc completion version 4.13.5

This commit is contained in:
Shohei YOSHIDA 2025-07-18 11:37:03 +09:00
parent 922abfe707
commit 12c780b2b1
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 9 additions and 9 deletions

View File

@ -23,7 +23,7 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for nanoc 4.12.16 (https://nanoc.app/) # Completion script for nanoc 4.13.5 (https://nanoc.app/)
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Authors # Authors
@ -94,7 +94,8 @@ case $state in
args=( args=(
{-W,--watch}'[watch for changes and recompile when needed]' {-W,--watch}'[watch for changes and recompile when needed]'
"--diff[generate diff]" "--diff[generate diff]"
) "--focus=[compile only items matching the given pattern]:pattern"
)
;; ;;
create-site) create-site)
args=( args=(
@ -108,22 +109,21 @@ case $state in
{-L,--list}"[list available locations to deploy to]" {-L,--list}"[list available locations to deploy to]"
{-n,--dry-run}"[show what would be deployed]" {-n,--dry-run}"[show what would be deployed]"
{-t,--target=}"[specify the location to deploy to (default:\`default\`)]:target" {-t,--target=}"[specify the location to deploy to (default:\`default\`)]:target"
) )
;; ;;
prune) prune)
args=( args+=(
{-n,--dry-run}"[print files to be deleted instead of actually deleting them]" {-n,--dry-run}"[print files to be deleted instead of actually deleting them]"
{-y,--yes}"[confirm deletion]" {-y,--yes}"[confirm deletion]"
) )
;; ;;
shell) shell)
args=( args=(
{-p,--preprocess}"[run preprocessor]" {-p,--preprocess}"[run preprocessor]"
) )
;; ;;
show-data|show-plugins|show-rules) show-data|show-plugins|show-rules)
args=( args=()
)
;; ;;
view) view)
args=( args=(
@ -131,7 +131,7 @@ case $state in
{-L,--live-reload}"[reload on changes]" {-L,--live-reload}"[reload on changes]"
{-o,--host=}"[specify the host to listen on(default: 127.0.0.1)]:host" {-o,--host=}"[specify the host to listen on(default: 127.0.0.1)]:host"
{-p,--port=}"[specify the port to listen on(default: 3000)]:port" {-p,--port=}"[specify the port to listen on(default: 3000)]:port"
) )
;; ;;
esac esac