···3333end
34343535set -l bun_install_boolean_flags yarn production optional development no-save dry-run force no-cache silent verbose global
3636-set -l bun_install_boolean_flags_descriptions "Write a yarn.lock file (yarn v1)" "Don't install devDependencies" "Add dependency to optionalDependencies" "Add dependency to devDependencies" "Don't install devDependencies" "Don't install anything" "Always request the latest versions from the registry & reinstall all dependencies" "Ignore manifest cache entirely" "Don't output anything" "Excessively verbose logging" "Use global folder"
3636+set -l bun_install_boolean_flags_descriptions "Write a yarn.lock file (yarn v1)" "Don't install devDependencies" "Add dependency to optionalDependencies" "Add dependency to devDependencies" "Don't update package.json or save a lockfile" "Don't install anything" "Always request the latest versions from the registry & reinstall all dependencies" "Ignore manifest cache entirely" "Don't output anything" "Excessively verbose logging" "Use global folder"
37373838set -l bun_builtin_cmds_without_run dev create help bun upgrade discord install remove add init pm x
3939set -l bun_builtin_cmds_accepting_flags create help bun upgrade discord run init link unlink pm x
···5353 # Scripts have descriptions appended with a tab separator.
5454 # Strip off descriptions for the purposes of subcommand testing.
5555 set -l scripts (__fish__get_bun_scripts)
5656- if __fish_seen_subcommand_from $(string split \t -f 1 -- $scripts)
5656+ if __fish_seen_subcommand_from (string split \t -f 1 -- $scripts)
5757 return
5858 end
5959 # Emit scripts.
···7070 end
7171 end
7272end
7373-74737574# Clear existing completions
7675complete -e -c bun
···121120complete -c bun \
122121 -n __fish_use_subcommand -a discord -d 'Open bun\'s Discord server' -x
123122124124-125123complete -c bun \
126124 -n __fish_use_subcommand -a bun -d 'Generate a new bundle'
127127-128125129126complete -c bun \
130127 -n "__fish_seen_subcommand_from bun" -F -d 'Bundle this'
···132129complete -c bun \
133130 -n "__fish_seen_subcommand_from create; and __fish_seen_subcommand_from react next" -F -d "Create in directory"
134131135135-136132complete -c bun \
137133 -n __fish_use_subcommand -a init -F -d 'Start an empty Bun project'
138134···144140145141complete -c bun \
146142 -n __fish_use_subcommand -a remove -F -d 'Remove a package from package.json'
147147-148143149144for i in (seq (count $bun_install_boolean_flags))
150145 complete -c bun \
···179174complete -c bun -n __fish_use_subcommand -a add -d "Add a dependency to package.json" -f
180175complete -c bun -n __fish_use_subcommand -a init -d "Initialize a Bun project in this directory" -f
181176complete -c bun -n __fish_use_subcommand -a link -d "Register or link a local npm package" -f
182182-complete -c bun -n __fish_use_subcommand -a link -d "Unregister a local npm package" -f
177177+complete -c bun -n __fish_use_subcommand -a unlink -d "Unregister a local npm package" -f
183178complete -c bun -n __fish_use_subcommand -a pm -d "Additional package management utilities" -f
184179complete -c bun -n __fish_use_subcommand -a x -d "Execute a package binary, installing if needed" -f
180180+complete -c bun -n __fish_use_subcommand -a outdated -d "Display the latest versions of outdated dependencies" -f
181181+complete -c bun -n __fish_use_subcommand -a publish -d "Publish your package from local to npm" -f