#compdef hyalo

autoload -U is-at-least

_hyalo() {
    typeset -A opt_args
    typeset -a _arguments_options
    local ret=1

    if is-at-least 5.2; then
        _arguments_options=(-s -S -C)
    else
        _arguments_options=(-s -C)
    fi

    local context curcontext="$curcontext" state line
    _arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_hyalo_commands" \
"*::: :->hyalo" \
&& ret=0
    case $state in
    (hyalo)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-command-$line[1]:"
        case $line[1] in
            (find)
_arguments "${_arguments_options[@]}" : \
'--view=[Use a saved view (named filter set from .hyalo.toml). Additional CLI filters are merged on top\: list filters (--property, --tag, --section, --glob) extend the view; scalar filters (--sort, --limit, --regexp, --title, --task) override it]:NAME:_default' \
'-e+[Regex body text search (case-insensitive by default; use (?-i) to override). Mutually exclusive with PATTERN]:REGEX:_default' \
'--regexp=[Regex body text search (case-insensitive by default; use (?-i) to override). Mutually exclusive with PATTERN]:REGEX:_default' \
'*-p+[Property filter\: K=V (eq), K!=V (neq), K>=V, K<=V, K>V, K<V, K (exists), !K (absent), K~=pat or K~=/pat/i (regex). Repeatable (AND)]:FILTER:_default' \
'*--property=[Property filter\: K=V (eq), K!=V (neq), K>=V, K<=V, K>V, K<V, K (exists), !K (absent), K~=pat or K~=/pat/i (regex). Repeatable (AND)]:FILTER:_default' \
'*-t+[Tag filter\: exact or prefix match (e.g. '\''project'\'' matches '\''project/backend'\'' but not '\''projects'\''). Repeatable (AND)]:TAG:_default' \
'*--tag=[Tag filter\: exact or prefix match (e.g. '\''project'\'' matches '\''project/backend'\'' but not '\''projects'\''). Repeatable (AND)]:TAG:_default' \
'--task=[Task presence filter\: '\''todo'\'', '\''done'\'', '\''any'\'', or a single status character]:STATUS:_default' \
'*-s+[Section heading filter\: case-insensitive substring match (e.g. '\''Tasks'\'' matches '\''Tasks \[4/4\]'\''); prefix '\''##'\'' to pin heading level; use '\''/regex/'\'' for regex (e.g. '\''/DEC-03\[12\]/'\''). Repeatable (OR)]:HEADING:_default' \
'*--section=[Section heading filter\: case-insensitive substring match (e.g. '\''Tasks'\'' matches '\''Tasks \[4/4\]'\''); prefix '\''##'\'' to pin heading level; use '\''/regex/'\'' for regex (e.g. '\''/DEC-03\[12\]/'\''). Repeatable (OR)]:HEADING:_default' \
'(-g --glob)*-f+[Target file(s) (repeatable). Mutually exclusive with --glob]:FILE:_default' \
'(-g --glob)*--file=[Target file(s) (repeatable). Mutually exclusive with --glob]:FILE:_default' \
'(-f --file)*-g+[Glob pattern(s) to select files, relative to --dir (repeatable); prefix '\''!'\'' to negate (e.g. '\''!**/draft-*'\'')]:GLOB:_default' \
'(-f --file)*--glob=[Glob pattern(s) to select files, relative to --dir (repeatable); prefix '\''!'\'' to negate (e.g. '\''!**/draft-*'\'')]:GLOB:_default' \
'*--fields=[Comma-separated list of optional fields to include\: all, properties, properties-typed, tags, sections, tasks, links, backlinks, title (default\: properties, tags, sections, links — excludes tasks, properties-typed, backlinks, and title). Use '\''all'\'' to include every field. '\''file'\'' and '\''modified'\'' are always included. '\''properties'\'' is a {key\: value} map; '\''properties-typed'\'' is a \[{name, type, value}\] array; '\''backlinks'\'' requires scanning all files; '\''title'\'' is the frontmatter title property or first H1 heading (null if neither found). Note\: in JSON output, \`properties-typed\` is serialized as \`properties_typed\` (underscore)]:FIELDS:_default' \
'--sort=[Sort order\: '\''file'\'' (default), '\''modified'\'', '\''backlinks_count'\'', '\''links_count'\'', '\''title'\'', '\''date'\'', or '\''property\:<KEY>'\'' for any frontmatter property]:SORT:_default' \
'-n+[Maximum number of results to return (must be at least 1)]:LIMIT:_default' \
'--limit=[Maximum number of results to return (must be at least 1)]:LIMIT:_default' \
'--title=[Filter by title\: case-insensitive substring match against the displayed title (frontmatter '\''title'\'' property or first H1 heading). Use /regex/ for regex (e.g. '\''/^The/'\'' or '\''/^The/i'\'')]:TITLE:_default' \
'--language=[Stemming language for BM25 body search (default\: english). Supported\: arabic, danish, dutch, english, finnish, french, german, greek, hungarian, italian, norwegian, portuguese, romanian, russian, spanish, swedish, tamil, turkish]:LANG:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--reverse[Reverse the sort order (ascending becomes descending and vice versa)]' \
'--broken-links[Only return files with at least one unresolved link (auto-includes links field)]' \
'--orphan[Only return orphan files\: no inbound links and no outbound links (auto-includes backlinks field)]' \
'--dead-end[Only return dead-end files\: have inbound links but no outbound links (auto-includes links field)]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::pattern -- BM25 ranked body text search with stemming (e.g. "running" matches "run", "ran"); results sorted by relevance:_default' \
'*::file_positional -- Target file(s) as positional args — alternative to --file (repeatable after PATTERN):_default' \
&& ret=0
;;
(read)
_arguments "${_arguments_options[@]}" : \
'()-f+[Target file (relative to --dir) — flag form]:FILE:_default' \
'()--file=[Target file (relative to --dir) — flag form]:FILE:_default' \
'-s+[Extract section(s) by substring match (e.g. '\''Tasks'\'' matches '\''Tasks \[4/4\]'\''); prefix '\''##'\'' to pin heading level; use '\''/regex/'\'' for regex. Nested subsections included]:HEADING:_default' \
'--section=[Extract section(s) by substring match (e.g. '\''Tasks'\'' matches '\''Tasks \[4/4\]'\''); prefix '\''##'\'' to pin heading level; use '\''/regex/'\'' for regex. Nested subsections included]:HEADING:_default' \
'-l+[Slice output by line range\: 5\:10, 5\:, \:10, or 5 (1-based, inclusive, relative to body content)]:LINES:_default' \
'--lines=[Slice output by line range\: 5\:10, 5\:, \:10, or 5 (1-based, inclusive, relative to body content)]:LINES:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--frontmatter[Include the YAML frontmatter in output]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::file_positional -- Target file (relative to --dir) — positional form:_default' \
&& ret=0
;;
(properties)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_hyalo__subcmd__properties_commands" \
"*::: :->properties" \
&& ret=0

    case $state in
    (properties)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-properties-command-$line[1]:"
        case $line[1] in
            (summary)
_arguments "${_arguments_options[@]}" : \
'*-g+[Glob pattern(s) to select files (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'*--glob=[Glob pattern(s) to select files (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(rename)
_arguments "${_arguments_options[@]}" : \
'--from=[Property key to rename from]:FROM:_default' \
'--to=[Property key to rename to]:TO:_default' \
'*-g+[Glob pattern(s) to scope which files to scan (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'*--glob=[Glob pattern(s) to scope which files to scan (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_hyalo__subcmd__properties__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-properties-help-command-$line[1]:"
        case $line[1] in
            (summary)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(tags)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_hyalo__subcmd__tags_commands" \
"*::: :->tags" \
&& ret=0

    case $state in
    (tags)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-tags-command-$line[1]:"
        case $line[1] in
            (summary)
_arguments "${_arguments_options[@]}" : \
'*-g+[Glob pattern(s) to filter which files to scan, relative to --dir (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'*--glob=[Glob pattern(s) to filter which files to scan, relative to --dir (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(rename)
_arguments "${_arguments_options[@]}" : \
'--from=[Tag to rename from]:FROM:_default' \
'--to=[Tag to rename to]:TO:_default' \
'*-g+[Glob pattern(s) to scope which files to scan (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'*--glob=[Glob pattern(s) to scope which files to scan (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_hyalo__subcmd__tags__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-tags-help-command-$line[1]:"
        case $line[1] in
            (summary)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(task)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_hyalo__subcmd__task_commands" \
"*::: :->task" \
&& ret=0

    case $state in
    (task)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-task-command-$line[1]:"
        case $line[1] in
            (read)
_arguments "${_arguments_options[@]}" : \
'()-f+[File containing the task(s) (relative to --dir) — flag form]:FILE:_default' \
'()--file=[File containing the task(s) (relative to --dir) — flag form]:FILE:_default' \
'(--section --all)*-l+[1-based line number(s). Comma-separated or repeatable\: --line 5,7,9 or --line 5 --line 7]:LINE:_default' \
'(--section --all)*--line=[1-based line number(s). Comma-separated or repeatable\: --line 5,7,9 or --line 5 --line 7]:LINE:_default' \
'(-l --line --all)--section=[Select all tasks under a heading (case-insensitive substring, ##-pinned, or /regex/)]:SECTION:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'(-l --line --section)--all[Select all tasks in the file]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::file_positional -- File containing the task(s) (relative to --dir) — positional form:_default' \
&& ret=0
;;
(toggle)
_arguments "${_arguments_options[@]}" : \
'()-f+[File containing the task(s) (relative to --dir) — flag form]:FILE:_default' \
'()--file=[File containing the task(s) (relative to --dir) — flag form]:FILE:_default' \
'(--section --all)*-l+[1-based line number(s). Comma-separated or repeatable\: --line 5,7,9 or --line 5 --line 7]:LINE:_default' \
'(--section --all)*--line=[1-based line number(s). Comma-separated or repeatable\: --line 5,7,9 or --line 5 --line 7]:LINE:_default' \
'(-l --line --all)--section=[Select all tasks under a heading (case-insensitive substring, ##-pinned, or /regex/)]:SECTION:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'(-l --line --section)--all[Select all tasks in the file]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::file_positional -- File containing the task(s) (relative to --dir) — positional form:_default' \
&& ret=0
;;
(set)
_arguments "${_arguments_options[@]}" : \
'()-f+[File containing the task(s) (relative to --dir) — flag form]:FILE:_default' \
'()--file=[File containing the task(s) (relative to --dir) — flag form]:FILE:_default' \
'(--section --all)*-l+[1-based line number(s). Comma-separated or repeatable\: --line 5,7,9 or --line 5 --line 7]:LINE:_default' \
'(--section --all)*--line=[1-based line number(s). Comma-separated or repeatable\: --line 5,7,9 or --line 5 --line 7]:LINE:_default' \
'(-l --line --all)--section=[Select all tasks under a heading (case-insensitive substring, ##-pinned, or /regex/)]:SECTION:_default' \
'-s+[Single character to set as the task status (e.g. '\''?'\'', '\''-'\'', '\''!'\'')]:STATUS:_default' \
'--status=[Single character to set as the task status (e.g. '\''?'\'', '\''-'\'', '\''!'\'')]:STATUS:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'(-l --line --section)--all[Select all tasks in the file]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::file_positional -- File containing the task(s) (relative to --dir) — positional form:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_hyalo__subcmd__task__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-task-help-command-$line[1]:"
        case $line[1] in
            (read)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(summary)
_arguments "${_arguments_options[@]}" : \
'*-g+[Glob pattern(s) to filter which files to include, relative to --dir (repeatable); prefix '\''!'\'' to negate (e.g. '\''!**/draft-*'\'')]:GLOB:_default' \
'*--glob=[Glob pattern(s) to filter which files to include, relative to --dir (repeatable); prefix '\''!'\'' to negate (e.g. '\''!**/draft-*'\'')]:GLOB:_default' \
'-n+[Number of recent files to show (default\: 10)]:RECENT:_default' \
'--recent=[Number of recent files to show (default\: 10)]:RECENT:_default' \
'--depth=[Limit directory listing depth (0 = root only; stats are always full)]:DEPTH:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(backlinks)
_arguments "${_arguments_options[@]}" : \
'()-f+[Target file to find backlinks for (relative to --dir) — flag form]:FILE:_default' \
'()--file=[Target file to find backlinks for (relative to --dir) — flag form]:FILE:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::file_positional -- Target file to find backlinks for (relative to --dir) — positional form:_default' \
&& ret=0
;;
(mv)
_arguments "${_arguments_options[@]}" : \
'()-f+[Source file to move (relative to --dir) — flag form]:FILE:_default' \
'()--file=[Source file to move (relative to --dir) — flag form]:FILE:_default' \
'--to=[Destination path (relative to --dir, must end with .md)]:TO:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--dry-run[Preview changes without modifying any files]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::file_positional -- Source file to move (relative to --dir) — positional form:_default' \
&& ret=0
;;
(set)
_arguments "${_arguments_options[@]}" : \
'*-p+[Property to set\: K=V (type inferred from V). Repeatable]:K=V:_default' \
'*--property=[Property to set\: K=V (type inferred from V). Repeatable]:K=V:_default' \
'*-t+[Tag to add (idempotent). Repeatable]:TAG:_default' \
'*--tag=[Tag to add (idempotent). Repeatable]:TAG:_default' \
'(-g --glob)*-f+[Target file(s) (repeatable). Mutually exclusive with --glob]:FILE:_default' \
'(-g --glob)*--file=[Target file(s) (repeatable). Mutually exclusive with --glob]:FILE:_default' \
'(-f --file)*-g+[Glob pattern(s) for multiple files, relative to --dir (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'(-f --file)*--glob=[Glob pattern(s) for multiple files, relative to --dir (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'*--where-property=[Filter\: only mutate files whose frontmatter property matches (repeatable, AND). Same syntax as find --property]:FILTER:_default' \
'*--where-tag=[Filter\: only mutate files with this tag (repeatable, AND). Same syntax as find --tag]:TAG:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--dry-run[Preview changes without modifying any files]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'*::file_positional -- Target file(s) as positional argument(s) — alternative to --file:_default' \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
'*-p+[Property to remove\: K (removes key) or K=V (removes value from list/scalar). Repeatable]:K or K=V:_default' \
'*--property=[Property to remove\: K (removes key) or K=V (removes value from list/scalar). Repeatable]:K or K=V:_default' \
'*-t+[Tag to remove. Repeatable]:TAG:_default' \
'*--tag=[Tag to remove. Repeatable]:TAG:_default' \
'(-g --glob)*-f+[Target file(s) (repeatable). Mutually exclusive with --glob]:FILE:_default' \
'(-g --glob)*--file=[Target file(s) (repeatable). Mutually exclusive with --glob]:FILE:_default' \
'(-f --file)*-g+[Glob pattern(s) for multiple files, relative to --dir (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'(-f --file)*--glob=[Glob pattern(s) for multiple files, relative to --dir (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'*--where-property=[Filter\: only mutate files whose frontmatter property matches (repeatable, AND). Same syntax as find --property]:FILTER:_default' \
'*--where-tag=[Filter\: only mutate files with this tag (repeatable, AND). Same syntax as find --tag]:TAG:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--dry-run[Preview changes without modifying any files]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'*::file_positional -- Target file(s) as positional argument(s) — alternative to --file:_default' \
&& ret=0
;;
(init)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--claude[Set up Claude Code integration (skill + CLAUDE.md hint)]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(deinit)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(create-index)
_arguments "${_arguments_options[@]}" : \
'-o+[Output path for the index file (default\: .hyalo-index in --dir)]:OUTPUT:_files' \
'--output=[Output path for the index file (default\: .hyalo-index in --dir)]:OUTPUT:_files' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--allow-outside-vault[Allow writing the index file outside the vault directory]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(drop-index)
_arguments "${_arguments_options[@]}" : \
'-p+[Path to the index file to delete (default\: .hyalo-index in --dir)]:PATH:_files' \
'--path=[Path to the index file to delete (default\: .hyalo-index in --dir)]:PATH:_files' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--allow-outside-vault[Allow deleting an index file outside the vault directory]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(append)
_arguments "${_arguments_options[@]}" : \
'*-p+[Property to append to\: K=V. Repeatable]:K=V:_default' \
'*--property=[Property to append to\: K=V. Repeatable]:K=V:_default' \
'(-g --glob)*-f+[Target file(s) (repeatable). Mutually exclusive with --glob]:FILE:_default' \
'(-g --glob)*--file=[Target file(s) (repeatable). Mutually exclusive with --glob]:FILE:_default' \
'(-f --file)*-g+[Glob pattern(s) for multiple files, relative to --dir (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'(-f --file)*--glob=[Glob pattern(s) for multiple files, relative to --dir (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'*--where-property=[Filter\: only mutate files whose frontmatter property matches (repeatable, AND). Same syntax as find --property]:FILTER:_default' \
'*--where-tag=[Filter\: only mutate files with this tag (repeatable, AND). Same syntax as find --tag]:TAG:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--dry-run[Preview changes without modifying any files]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'*::file_positional -- Target file(s) as positional argument(s) — alternative to --file:_default' \
&& ret=0
;;
(views)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_hyalo__subcmd__views_commands" \
"*::: :->views" \
&& ret=0

    case $state in
    (views)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-views-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(set)
_arguments "${_arguments_options[@]}" : \
'-e+[Regex body text search (case-insensitive by default; use (?-i) to override). Mutually exclusive with PATTERN]:REGEX:_default' \
'--regexp=[Regex body text search (case-insensitive by default; use (?-i) to override). Mutually exclusive with PATTERN]:REGEX:_default' \
'*-p+[Property filter\: K=V (eq), K!=V (neq), K>=V, K<=V, K>V, K<V, K (exists), !K (absent), K~=pat or K~=/pat/i (regex). Repeatable (AND)]:FILTER:_default' \
'*--property=[Property filter\: K=V (eq), K!=V (neq), K>=V, K<=V, K>V, K<V, K (exists), !K (absent), K~=pat or K~=/pat/i (regex). Repeatable (AND)]:FILTER:_default' \
'*-t+[Tag filter\: exact or prefix match (e.g. '\''project'\'' matches '\''project/backend'\'' but not '\''projects'\''). Repeatable (AND)]:TAG:_default' \
'*--tag=[Tag filter\: exact or prefix match (e.g. '\''project'\'' matches '\''project/backend'\'' but not '\''projects'\''). Repeatable (AND)]:TAG:_default' \
'--task=[Task presence filter\: '\''todo'\'', '\''done'\'', '\''any'\'', or a single status character]:STATUS:_default' \
'*-s+[Section heading filter\: case-insensitive substring match (e.g. '\''Tasks'\'' matches '\''Tasks \[4/4\]'\''); prefix '\''##'\'' to pin heading level; use '\''/regex/'\'' for regex (e.g. '\''/DEC-03\[12\]/'\''). Repeatable (OR)]:HEADING:_default' \
'*--section=[Section heading filter\: case-insensitive substring match (e.g. '\''Tasks'\'' matches '\''Tasks \[4/4\]'\''); prefix '\''##'\'' to pin heading level; use '\''/regex/'\'' for regex (e.g. '\''/DEC-03\[12\]/'\''). Repeatable (OR)]:HEADING:_default' \
'(-g --glob)*-f+[Target file(s) (repeatable). Mutually exclusive with --glob]:FILE:_default' \
'(-g --glob)*--file=[Target file(s) (repeatable). Mutually exclusive with --glob]:FILE:_default' \
'(-f --file)*-g+[Glob pattern(s) to select files, relative to --dir (repeatable); prefix '\''!'\'' to negate (e.g. '\''!**/draft-*'\'')]:GLOB:_default' \
'(-f --file)*--glob=[Glob pattern(s) to select files, relative to --dir (repeatable); prefix '\''!'\'' to negate (e.g. '\''!**/draft-*'\'')]:GLOB:_default' \
'*--fields=[Comma-separated list of optional fields to include\: all, properties, properties-typed, tags, sections, tasks, links, backlinks, title (default\: properties, tags, sections, links — excludes tasks, properties-typed, backlinks, and title). Use '\''all'\'' to include every field. '\''file'\'' and '\''modified'\'' are always included. '\''properties'\'' is a {key\: value} map; '\''properties-typed'\'' is a \[{name, type, value}\] array; '\''backlinks'\'' requires scanning all files; '\''title'\'' is the frontmatter title property or first H1 heading (null if neither found). Note\: in JSON output, \`properties-typed\` is serialized as \`properties_typed\` (underscore)]:FIELDS:_default' \
'--sort=[Sort order\: '\''file'\'' (default), '\''modified'\'', '\''backlinks_count'\'', '\''links_count'\'', '\''title'\'', '\''date'\'', or '\''property\:<KEY>'\'' for any frontmatter property]:SORT:_default' \
'-n+[Maximum number of results to return (must be at least 1)]:LIMIT:_default' \
'--limit=[Maximum number of results to return (must be at least 1)]:LIMIT:_default' \
'--title=[Filter by title\: case-insensitive substring match against the displayed title (frontmatter '\''title'\'' property or first H1 heading). Use /regex/ for regex (e.g. '\''/^The/'\'' or '\''/^The/i'\'')]:TITLE:_default' \
'--language=[Stemming language for BM25 body search (default\: english). Supported\: arabic, danish, dutch, english, finnish, french, german, greek, hungarian, italian, norwegian, portuguese, romanian, russian, spanish, swedish, tamil, turkish]:LANG:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--reverse[Reverse the sort order (ascending becomes descending and vice versa)]' \
'--broken-links[Only return files with at least one unresolved link (auto-includes links field)]' \
'--orphan[Only return orphan files\: no inbound links and no outbound links (auto-includes backlinks field)]' \
'--dead-end[Only return dead-end files\: have inbound links but no outbound links (auto-includes links field)]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name -- View name (first positional arg):_default' \
'::pattern -- Optional BM25 search pattern to save with the view (second positional arg). Example\: `hyalo views set my-view "search terms" --tag foo`:_default' \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name -- View name to delete:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_hyalo__subcmd__views__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-views-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(links)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_hyalo__subcmd__links_commands" \
"*::: :->links" \
&& ret=0

    case $state in
    (links)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-links-command-$line[1]:"
        case $line[1] in
            (fix)
_arguments "${_arguments_options[@]}" : \
'--threshold=[Minimum similarity threshold for fuzzy matching (0.0–1.0)]:THRESHOLD:_default' \
'*-g+[Glob pattern(s) to filter which files to check, relative to --dir (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'*--glob=[Glob pattern(s) to filter which files to check, relative to --dir (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'*--ignore-target=[Ignore broken links whose target contains any of these substrings (repeatable). Useful for skipping Hugo template links, external paths, etc]:IGNORE_TARGET:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--dry-run[Preview changes without modifying files (default when --apply is omitted)]' \
'(--dry-run)--apply[Apply fixes to files on disk]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_hyalo__subcmd__links__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-links-help-command-$line[1]:"
        case $line[1] in
            (fix)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(lint)
_arguments "${_arguments_options[@]}" : \
'(-g --glob)*-f+[Target file(s) (repeatable). Mutually exclusive with --glob]:FILE:_default' \
'(-g --glob)*--file=[Target file(s) (repeatable). Mutually exclusive with --glob]:FILE:_default' \
'(-f --file)*-g+[Glob pattern(s) to select files, relative to --dir (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'(-f --file)*--glob=[Glob pattern(s) to select files, relative to --dir (repeatable); prefix '\''!'\'' to negate]:GLOB:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--fix[Auto-remediate fixable violations (defaults, enum typos, date format, type inference)]' \
'--dry-run[With --fix, preview changes without writing files]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::file_positional -- Target file (relative to --dir) — positional form:_default' \
&& ret=0
;;
(types)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_hyalo__subcmd__types_commands" \
"*::: :->types" \
&& ret=0

    case $state in
    (types)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-types-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(show)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':type_name -- Type name to display:_default' \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--print[Print the TOML snippet to stdout instead of writing to .hyalo.toml]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':type_name -- Type name to create:_default' \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':type_name -- Type name to remove:_default' \
&& ret=0
;;
(set)
_arguments "${_arguments_options[@]}" : \
'*--required=[Comma-separated list of required property names to add (repeatable)]:FIELDS:_default' \
'*--default=[Set a default value\: key=value (repeatable)]:KEY=VALUE:_default' \
'*--property-type=[Set the property type constraint\: key=type (repeatable)]:KEY=TYPE:_default' \
'*--property-values=[Set enum values for a property\: key=val1,val2,... (repeatable)]:KEY=VALUES:_default' \
'--filename-template=[Set the filename template for new files of this type]:TEMPLATE:_default' \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--dry-run[Preview changes without writing any files]' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':type_name -- Type name to update:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_hyalo__subcmd__types__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-types-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(show)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(completion)
_arguments "${_arguments_options[@]}" : \
'-d+[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--dir=[Root directory for resolving all file and --glob paths. Default\: "." (Override via .hyalo.toml)]:DIR:_files' \
'--format=[Output format\: "json" or "text". Default\: "json" (Override via .hyalo.toml)]:FORMAT:(json text)' \
'--jq=[Apply a jq filter expression to the JSON output of any command. Operates on the full JSON envelope\: {"results"\: ..., "total"\: N, "hints"\: \[...\]}. The filtered result is printed as plain text. Incompatible with --format text. Example\: --jq '\''.results\[\].file'\'' or --jq '\''.results | map(.properties.status) | unique'\''. Note\: recursive filters (e.g. '\''recurse'\'', '\''..'\'') on large inputs may run indefinitely]:FILTER:_default' \
'--site-prefix=[Site prefix for resolving root-absolute links like \`/docs/page.md\`]:PREFIX:_default' \
'--index=[Use a pre-built snapshot index instead of scanning files from disk]::PATH:_files' \
'--count[Print only the total count as a bare integer for list commands (find, tags summary, properties summary, backlinks). Shortcut for --jq '\''.total'\''. Incompatible with --jq]' \
'--hints[Force hints on (already the default). Text mode\: '\''-> hyalo ...  # description'\'' lines — concrete, copy-pasteable commands with descriptions. JSON mode\: populates the "hints" array in the envelope (always present, empty when suppressed). Suppressed when --jq is active]' \
'--no-hints[Disable drill-down command hints (enabled by default). Override via .hyalo.toml\: hints = false When both --hints and --no-hints are present, --hints takes precedence]' \
'-q[Suppress all warnings printed to stderr]' \
'--quiet[Suppress all warnings printed to stderr]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':shell -- Target shell:(bash elvish fish powershell zsh)' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_hyalo__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-help-command-$line[1]:"
        case $line[1] in
            (find)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(read)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(properties)
_arguments "${_arguments_options[@]}" : \
":: :_hyalo__subcmd__help__subcmd__properties_commands" \
"*::: :->properties" \
&& ret=0

    case $state in
    (properties)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-help-properties-command-$line[1]:"
        case $line[1] in
            (summary)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(tags)
_arguments "${_arguments_options[@]}" : \
":: :_hyalo__subcmd__help__subcmd__tags_commands" \
"*::: :->tags" \
&& ret=0

    case $state in
    (tags)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-help-tags-command-$line[1]:"
        case $line[1] in
            (summary)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(task)
_arguments "${_arguments_options[@]}" : \
":: :_hyalo__subcmd__help__subcmd__task_commands" \
"*::: :->task" \
&& ret=0

    case $state in
    (task)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-help-task-command-$line[1]:"
        case $line[1] in
            (read)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(summary)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(backlinks)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(mv)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(init)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(deinit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create-index)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(drop-index)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(append)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(views)
_arguments "${_arguments_options[@]}" : \
":: :_hyalo__subcmd__help__subcmd__views_commands" \
"*::: :->views" \
&& ret=0

    case $state in
    (views)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-help-views-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(links)
_arguments "${_arguments_options[@]}" : \
":: :_hyalo__subcmd__help__subcmd__links_commands" \
"*::: :->links" \
&& ret=0

    case $state in
    (links)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-help-links-command-$line[1]:"
        case $line[1] in
            (fix)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(lint)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(types)
_arguments "${_arguments_options[@]}" : \
":: :_hyalo__subcmd__help__subcmd__types_commands" \
"*::: :->types" \
&& ret=0

    case $state in
    (types)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:hyalo-help-types-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(show)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(completion)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_hyalo_commands] )) ||
_hyalo_commands() {
    local commands; commands=(
'find:Search and filter markdown files — returns file objects with metadata, structure, tasks, and links' \
'read:Read file body content, optionally filtered by section or line range (read-only)' \
'properties:Property operations\: summary or bulk rename' \
'tags:Tag operations\: summary or bulk rename' \
'task:Read, toggle, or set status on task checkboxes (single, bulk, or by section)' \
'summary:Show a compact vault summary\: file counts, property/tag/status counts, tasks, links, orphans, dead-ends (read-only)' \
'backlinks:List all files that link to a given file (read-only)' \
'mv:Move/rename a file and update all inbound and outbound links' \
'set:Set (create or overwrite) frontmatter properties and/or add tags across file(s)' \
'remove:Remove frontmatter properties and/or tags from file(s)' \
'init:Initialize hyalo configuration and optional tool integrations' \
'deinit:Remove hyalo configuration and Claude Code integration artifacts' \
'create-index:Build a snapshot index for faster repeated read-only queries' \
'drop-index:Delete a snapshot index file created with create-index' \
'append:Append values to list properties in file(s) frontmatter, promoting scalars to lists' \
'views:Manage saved views (named find filter sets stored in .hyalo.toml)' \
'links:Detect and repair broken links across the vault' \
'lint:Validate frontmatter properties against the \`.hyalo.toml\` schema (optional auto-fix)' \
'types:Manage document-type schemas in \`.hyalo.toml\`' \
'completion:Generate shell completions for the given shell' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__append_commands] )) ||
_hyalo__subcmd__append_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo append commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__backlinks_commands] )) ||
_hyalo__subcmd__backlinks_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo backlinks commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__completion_commands] )) ||
_hyalo__subcmd__completion_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo completion commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__create-index_commands] )) ||
_hyalo__subcmd__create-index_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo create-index commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__deinit_commands] )) ||
_hyalo__subcmd__deinit_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo deinit commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__drop-index_commands] )) ||
_hyalo__subcmd__drop-index_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo drop-index commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__find_commands] )) ||
_hyalo__subcmd__find_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo find commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help_commands] )) ||
_hyalo__subcmd__help_commands() {
    local commands; commands=(
'find:Search and filter markdown files — returns file objects with metadata, structure, tasks, and links' \
'read:Read file body content, optionally filtered by section or line range (read-only)' \
'properties:Property operations\: summary or bulk rename' \
'tags:Tag operations\: summary or bulk rename' \
'task:Read, toggle, or set status on task checkboxes (single, bulk, or by section)' \
'summary:Show a compact vault summary\: file counts, property/tag/status counts, tasks, links, orphans, dead-ends (read-only)' \
'backlinks:List all files that link to a given file (read-only)' \
'mv:Move/rename a file and update all inbound and outbound links' \
'set:Set (create or overwrite) frontmatter properties and/or add tags across file(s)' \
'remove:Remove frontmatter properties and/or tags from file(s)' \
'init:Initialize hyalo configuration and optional tool integrations' \
'deinit:Remove hyalo configuration and Claude Code integration artifacts' \
'create-index:Build a snapshot index for faster repeated read-only queries' \
'drop-index:Delete a snapshot index file created with create-index' \
'append:Append values to list properties in file(s) frontmatter, promoting scalars to lists' \
'views:Manage saved views (named find filter sets stored in .hyalo.toml)' \
'links:Detect and repair broken links across the vault' \
'lint:Validate frontmatter properties against the \`.hyalo.toml\` schema (optional auto-fix)' \
'types:Manage document-type schemas in \`.hyalo.toml\`' \
'completion:Generate shell completions for the given shell' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__append_commands] )) ||
_hyalo__subcmd__help__subcmd__append_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help append commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__backlinks_commands] )) ||
_hyalo__subcmd__help__subcmd__backlinks_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help backlinks commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__completion_commands] )) ||
_hyalo__subcmd__help__subcmd__completion_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help completion commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__create-index_commands] )) ||
_hyalo__subcmd__help__subcmd__create-index_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help create-index commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__deinit_commands] )) ||
_hyalo__subcmd__help__subcmd__deinit_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help deinit commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__drop-index_commands] )) ||
_hyalo__subcmd__help__subcmd__drop-index_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help drop-index commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__find_commands] )) ||
_hyalo__subcmd__help__subcmd__find_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help find commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__help_commands] )) ||
_hyalo__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__init_commands] )) ||
_hyalo__subcmd__help__subcmd__init_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help init commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__links_commands] )) ||
_hyalo__subcmd__help__subcmd__links_commands() {
    local commands; commands=(
'fix:Auto-repair broken links using fuzzy matching' \
    )
    _describe -t commands 'hyalo help links commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__links__subcmd__fix_commands] )) ||
_hyalo__subcmd__help__subcmd__links__subcmd__fix_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help links fix commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__lint_commands] )) ||
_hyalo__subcmd__help__subcmd__lint_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help lint commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__mv_commands] )) ||
_hyalo__subcmd__help__subcmd__mv_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help mv commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__properties_commands] )) ||
_hyalo__subcmd__help__subcmd__properties_commands() {
    local commands; commands=(
'summary:Show unique property names with types and file counts (read-only)' \
'rename:Rename a property key across all matched files' \
    )
    _describe -t commands 'hyalo help properties commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__properties__subcmd__rename_commands] )) ||
_hyalo__subcmd__help__subcmd__properties__subcmd__rename_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help properties rename commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__properties__subcmd__summary_commands] )) ||
_hyalo__subcmd__help__subcmd__properties__subcmd__summary_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help properties summary commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__read_commands] )) ||
_hyalo__subcmd__help__subcmd__read_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help read commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__remove_commands] )) ||
_hyalo__subcmd__help__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help remove commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__set_commands] )) ||
_hyalo__subcmd__help__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help set commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__summary_commands] )) ||
_hyalo__subcmd__help__subcmd__summary_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help summary commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__tags_commands] )) ||
_hyalo__subcmd__help__subcmd__tags_commands() {
    local commands; commands=(
'summary:Show unique tags with file counts (read-only)' \
'rename:Rename a tag across all matched files' \
    )
    _describe -t commands 'hyalo help tags commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__tags__subcmd__rename_commands] )) ||
_hyalo__subcmd__help__subcmd__tags__subcmd__rename_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help tags rename commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__tags__subcmd__summary_commands] )) ||
_hyalo__subcmd__help__subcmd__tags__subcmd__summary_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help tags summary commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__task_commands] )) ||
_hyalo__subcmd__help__subcmd__task_commands() {
    local commands; commands=(
'read:Show task details for one or more tasks (read-only)' \
'toggle:Toggle task completion\: \[ \] -> \[x\], \[x\]/\[X\] -> \[ \], custom -> \[x\]' \
'set:Set a custom single-character status on one or more tasks' \
    )
    _describe -t commands 'hyalo help task commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__task__subcmd__read_commands] )) ||
_hyalo__subcmd__help__subcmd__task__subcmd__read_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help task read commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__task__subcmd__set_commands] )) ||
_hyalo__subcmd__help__subcmd__task__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help task set commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__task__subcmd__toggle_commands] )) ||
_hyalo__subcmd__help__subcmd__task__subcmd__toggle_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help task toggle commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__types_commands] )) ||
_hyalo__subcmd__help__subcmd__types_commands() {
    local commands; commands=(
'list:List all defined types and their required fields (default)' \
'show:Show the full schema for a single type' \
'create:Add a new type entry to \`.hyalo.toml\`' \
'remove:Remove a type entry from \`.hyalo.toml\`' \
'set:Update a type schema'\''s required fields, defaults, or property constraints' \
    )
    _describe -t commands 'hyalo help types commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__types__subcmd__create_commands] )) ||
_hyalo__subcmd__help__subcmd__types__subcmd__create_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help types create commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__types__subcmd__list_commands] )) ||
_hyalo__subcmd__help__subcmd__types__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help types list commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__types__subcmd__remove_commands] )) ||
_hyalo__subcmd__help__subcmd__types__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help types remove commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__types__subcmd__set_commands] )) ||
_hyalo__subcmd__help__subcmd__types__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help types set commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__types__subcmd__show_commands] )) ||
_hyalo__subcmd__help__subcmd__types__subcmd__show_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help types show commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__views_commands] )) ||
_hyalo__subcmd__help__subcmd__views_commands() {
    local commands; commands=(
'list:List all saved views' \
'set:Create or update a saved view' \
'remove:Delete a saved view' \
    )
    _describe -t commands 'hyalo help views commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__views__subcmd__list_commands] )) ||
_hyalo__subcmd__help__subcmd__views__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help views list commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__views__subcmd__remove_commands] )) ||
_hyalo__subcmd__help__subcmd__views__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help views remove commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__help__subcmd__views__subcmd__set_commands] )) ||
_hyalo__subcmd__help__subcmd__views__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo help views set commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__init_commands] )) ||
_hyalo__subcmd__init_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo init commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__links_commands] )) ||
_hyalo__subcmd__links_commands() {
    local commands; commands=(
'fix:Auto-repair broken links using fuzzy matching' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo links commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__links__subcmd__fix_commands] )) ||
_hyalo__subcmd__links__subcmd__fix_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo links fix commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__links__subcmd__help_commands] )) ||
_hyalo__subcmd__links__subcmd__help_commands() {
    local commands; commands=(
'fix:Auto-repair broken links using fuzzy matching' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo links help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__links__subcmd__help__subcmd__fix_commands] )) ||
_hyalo__subcmd__links__subcmd__help__subcmd__fix_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo links help fix commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__links__subcmd__help__subcmd__help_commands] )) ||
_hyalo__subcmd__links__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo links help help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__lint_commands] )) ||
_hyalo__subcmd__lint_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo lint commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__mv_commands] )) ||
_hyalo__subcmd__mv_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo mv commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__properties_commands] )) ||
_hyalo__subcmd__properties_commands() {
    local commands; commands=(
'summary:Show unique property names with types and file counts (read-only)' \
'rename:Rename a property key across all matched files' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo properties commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__properties__subcmd__help_commands] )) ||
_hyalo__subcmd__properties__subcmd__help_commands() {
    local commands; commands=(
'summary:Show unique property names with types and file counts (read-only)' \
'rename:Rename a property key across all matched files' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo properties help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__properties__subcmd__help__subcmd__help_commands] )) ||
_hyalo__subcmd__properties__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo properties help help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__properties__subcmd__help__subcmd__rename_commands] )) ||
_hyalo__subcmd__properties__subcmd__help__subcmd__rename_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo properties help rename commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__properties__subcmd__help__subcmd__summary_commands] )) ||
_hyalo__subcmd__properties__subcmd__help__subcmd__summary_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo properties help summary commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__properties__subcmd__rename_commands] )) ||
_hyalo__subcmd__properties__subcmd__rename_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo properties rename commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__properties__subcmd__summary_commands] )) ||
_hyalo__subcmd__properties__subcmd__summary_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo properties summary commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__read_commands] )) ||
_hyalo__subcmd__read_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo read commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__remove_commands] )) ||
_hyalo__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo remove commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__set_commands] )) ||
_hyalo__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo set commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__summary_commands] )) ||
_hyalo__subcmd__summary_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo summary commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__tags_commands] )) ||
_hyalo__subcmd__tags_commands() {
    local commands; commands=(
'summary:Show unique tags with file counts (read-only)' \
'rename:Rename a tag across all matched files' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo tags commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__tags__subcmd__help_commands] )) ||
_hyalo__subcmd__tags__subcmd__help_commands() {
    local commands; commands=(
'summary:Show unique tags with file counts (read-only)' \
'rename:Rename a tag across all matched files' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo tags help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__tags__subcmd__help__subcmd__help_commands] )) ||
_hyalo__subcmd__tags__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo tags help help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__tags__subcmd__help__subcmd__rename_commands] )) ||
_hyalo__subcmd__tags__subcmd__help__subcmd__rename_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo tags help rename commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__tags__subcmd__help__subcmd__summary_commands] )) ||
_hyalo__subcmd__tags__subcmd__help__subcmd__summary_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo tags help summary commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__tags__subcmd__rename_commands] )) ||
_hyalo__subcmd__tags__subcmd__rename_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo tags rename commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__tags__subcmd__summary_commands] )) ||
_hyalo__subcmd__tags__subcmd__summary_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo tags summary commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__task_commands] )) ||
_hyalo__subcmd__task_commands() {
    local commands; commands=(
'read:Show task details for one or more tasks (read-only)' \
'toggle:Toggle task completion\: \[ \] -> \[x\], \[x\]/\[X\] -> \[ \], custom -> \[x\]' \
'set:Set a custom single-character status on one or more tasks' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo task commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__task__subcmd__help_commands] )) ||
_hyalo__subcmd__task__subcmd__help_commands() {
    local commands; commands=(
'read:Show task details for one or more tasks (read-only)' \
'toggle:Toggle task completion\: \[ \] -> \[x\], \[x\]/\[X\] -> \[ \], custom -> \[x\]' \
'set:Set a custom single-character status on one or more tasks' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo task help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__task__subcmd__help__subcmd__help_commands] )) ||
_hyalo__subcmd__task__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo task help help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__task__subcmd__help__subcmd__read_commands] )) ||
_hyalo__subcmd__task__subcmd__help__subcmd__read_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo task help read commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__task__subcmd__help__subcmd__set_commands] )) ||
_hyalo__subcmd__task__subcmd__help__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo task help set commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__task__subcmd__help__subcmd__toggle_commands] )) ||
_hyalo__subcmd__task__subcmd__help__subcmd__toggle_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo task help toggle commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__task__subcmd__read_commands] )) ||
_hyalo__subcmd__task__subcmd__read_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo task read commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__task__subcmd__set_commands] )) ||
_hyalo__subcmd__task__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo task set commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__task__subcmd__toggle_commands] )) ||
_hyalo__subcmd__task__subcmd__toggle_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo task toggle commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__types_commands] )) ||
_hyalo__subcmd__types_commands() {
    local commands; commands=(
'list:List all defined types and their required fields (default)' \
'show:Show the full schema for a single type' \
'create:Add a new type entry to \`.hyalo.toml\`' \
'remove:Remove a type entry from \`.hyalo.toml\`' \
'set:Update a type schema'\''s required fields, defaults, or property constraints' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo types commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__types__subcmd__create_commands] )) ||
_hyalo__subcmd__types__subcmd__create_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo types create commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__types__subcmd__help_commands] )) ||
_hyalo__subcmd__types__subcmd__help_commands() {
    local commands; commands=(
'list:List all defined types and their required fields (default)' \
'show:Show the full schema for a single type' \
'create:Add a new type entry to \`.hyalo.toml\`' \
'remove:Remove a type entry from \`.hyalo.toml\`' \
'set:Update a type schema'\''s required fields, defaults, or property constraints' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo types help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__types__subcmd__help__subcmd__create_commands] )) ||
_hyalo__subcmd__types__subcmd__help__subcmd__create_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo types help create commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__types__subcmd__help__subcmd__help_commands] )) ||
_hyalo__subcmd__types__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo types help help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__types__subcmd__help__subcmd__list_commands] )) ||
_hyalo__subcmd__types__subcmd__help__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo types help list commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__types__subcmd__help__subcmd__remove_commands] )) ||
_hyalo__subcmd__types__subcmd__help__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo types help remove commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__types__subcmd__help__subcmd__set_commands] )) ||
_hyalo__subcmd__types__subcmd__help__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo types help set commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__types__subcmd__help__subcmd__show_commands] )) ||
_hyalo__subcmd__types__subcmd__help__subcmd__show_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo types help show commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__types__subcmd__list_commands] )) ||
_hyalo__subcmd__types__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo types list commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__types__subcmd__remove_commands] )) ||
_hyalo__subcmd__types__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo types remove commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__types__subcmd__set_commands] )) ||
_hyalo__subcmd__types__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo types set commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__types__subcmd__show_commands] )) ||
_hyalo__subcmd__types__subcmd__show_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo types show commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__views_commands] )) ||
_hyalo__subcmd__views_commands() {
    local commands; commands=(
'list:List all saved views' \
'set:Create or update a saved view' \
'remove:Delete a saved view' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo views commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__views__subcmd__help_commands] )) ||
_hyalo__subcmd__views__subcmd__help_commands() {
    local commands; commands=(
'list:List all saved views' \
'set:Create or update a saved view' \
'remove:Delete a saved view' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'hyalo views help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__views__subcmd__help__subcmd__help_commands] )) ||
_hyalo__subcmd__views__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo views help help commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__views__subcmd__help__subcmd__list_commands] )) ||
_hyalo__subcmd__views__subcmd__help__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo views help list commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__views__subcmd__help__subcmd__remove_commands] )) ||
_hyalo__subcmd__views__subcmd__help__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo views help remove commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__views__subcmd__help__subcmd__set_commands] )) ||
_hyalo__subcmd__views__subcmd__help__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo views help set commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__views__subcmd__list_commands] )) ||
_hyalo__subcmd__views__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo views list commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__views__subcmd__remove_commands] )) ||
_hyalo__subcmd__views__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo views remove commands' commands "$@"
}
(( $+functions[_hyalo__subcmd__views__subcmd__set_commands] )) ||
_hyalo__subcmd__views__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'hyalo views set commands' commands "$@"
}

if [ "$funcstack[1]" = "_hyalo" ]; then
    _hyalo "$@"
else
    compdef _hyalo hyalo
fi
