cascade-ai 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ # Cascade AI — Fish completions
2
+ # Install: cp cascade.fish ~/.config/fish/completions/
3
+
4
+ # Disable file completions
5
+ complete -c cascade -f
6
+
7
+ # Commands
8
+ complete -c cascade -n '__fish_use_subcommand' -a init -d 'Initialize Cascade in a project'
9
+ complete -c cascade -n '__fish_use_subcommand' -a doctor -d 'Check system configuration'
10
+ complete -c cascade -n '__fish_use_subcommand' -a update -d 'Update to latest version'
11
+ complete -c cascade -n '__fish_use_subcommand' -a dashboard -d 'Launch the web dashboard'
12
+ complete -c cascade -n '__fish_use_subcommand' -a run -d 'Run a single prompt and exit'
13
+
14
+ # Flags
15
+ complete -c cascade -l prompt -s p -d 'Single prompt' -r
16
+ complete -c cascade -l theme -s t -d 'Color theme' -r -a 'cascade dark light dracula nord solarized'
17
+ complete -c cascade -l workspace -s w -d 'Workspace path' -r -F
18
+ complete -c cascade -l version -s v -d 'Show version'
19
+ complete -c cascade -l help -s h -d 'Show help'
20
+ complete -c cascade -l no-color -d 'Disable colors'
@@ -0,0 +1,32 @@
1
+ #compdef cascade
2
+ # Cascade AI — Zsh completions
3
+ # Install: fpath=(~/.config/cascade/completions $fpath)
4
+
5
+ _cascade() {
6
+ local context state state_descr line
7
+ typeset -A opt_args
8
+
9
+ _arguments \
10
+ '(-v --version)'{-v,--version}'[Show version]' \
11
+ '(-h --help)'{-h,--help}'[Show help]' \
12
+ '(-p --prompt)'{-p,--prompt}'[Single prompt]:prompt:' \
13
+ '(-t --theme)'{-t,--theme}'[Color theme]:theme:(cascade dark light dracula nord solarized)' \
14
+ '(-w --workspace)'{-w,--workspace}'[Workspace path]:path:_files -/' \
15
+ '1:command:->command' \
16
+ '*::args:->args'
17
+
18
+ case $state in
19
+ command)
20
+ local commands=(
21
+ 'init:Initialize Cascade in a project directory'
22
+ 'doctor:Check system configuration'
23
+ 'update:Update to the latest version'
24
+ 'dashboard:Launch the web dashboard'
25
+ 'run:Run a single prompt and exit'
26
+ )
27
+ _describe 'cascade commands' commands
28
+ ;;
29
+ esac
30
+ }
31
+
32
+ _cascade "$@"