Update bun completions
Browse files at this commitb4ca945e2906b59b877b3de9ab0812c2ee16ff49Parent: 150cf80- chore
- update bun completions
1 changed file +274 -9
.config/fish/completions/bun.fishmodified+274 -9
| @@ -32,11 +32,12 @@ function __fish__get_bun_bun_js_files | |||
| 32 | string split ' ' (bun getcompletes j) | 32 | string split ' ' (bun getcompletes j) |
| 33 | end | 33 | end |
| 34 | 34 | ||
| 35 | -set -l bun_install_boolean_flags yarn production optional development no-save dry-run force no-cache silent verbose global | 35 | +set -l bun_install_boolean_flags yarn production no-save dry-run force no-cache silent verbose global |
| 36 | -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" | 36 | +set -l bun_install_boolean_flags_descriptions "Write a yarn.lock file (yarn v1)" "Don't install 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" |
| 37 | 37 | ||
| 38 | -set -l bun_builtin_cmds_without_run dev create help bun upgrade discord install remove add update init pm x repl | 38 | +set -l bun_builtin_cmds_without_run dev create help bun upgrade discord install remove add update audit dedupe prune publish init pm x repl check lint fmt |
| 39 | -set -l bun_builtin_cmds_accepting_flags create help bun upgrade discord run init link unlink pm x update | 39 | +# The package manager commands and `bun x` reject a flag they do not have. |
| 40 | +set -l bun_builtin_cmds_accepting_flags create help bun upgrade discord run init | ||
| 40 | 41 | ||
| 41 | function __bun_complete_bins_scripts --inherit-variable bun_builtin_cmds_without_run -d "Emit bun completions for bins and scripts" | 42 | function __bun_complete_bins_scripts --inherit-variable bun_builtin_cmds_without_run -d "Emit bun completions for bins and scripts" |
| 42 | # Do nothing if we already have a builtin subcommand, | 43 | # Do nothing if we already have a builtin subcommand, |
| @@ -148,14 +149,29 @@ complete -c bun \ | |||
| 148 | 149 | ||
| 149 | for i in (seq (count $bun_install_boolean_flags)) | 150 | for i in (seq (count $bun_install_boolean_flags)) |
| 150 | complete -c bun \ | 151 | complete -c bun \ |
| 151 | - -n "__fish_seen_subcommand_from install add remove update" -l "$bun_install_boolean_flags[$i]" -d "$bun_install_boolean_flags_descriptions[$i]" | 152 | + -n "__fish_seen_subcommand_from install add remove dedupe" -l "$bun_install_boolean_flags[$i]" -d "$bun_install_boolean_flags_descriptions[$i]" |
| 152 | end | 153 | end |
| 153 | 154 | ||
| 154 | complete -c bun \ | 155 | complete -c bun \ |
| 155 | - -n "__fish_seen_subcommand_from install add remove update" -l 'cwd' -d 'Change working directory' | 156 | + -n "__fish_seen_subcommand_from install add" -l 'optional' -d 'Add dependency to optionalDependencies' |
| 156 | 157 | ||
| 157 | complete -c bun \ | 158 | complete -c bun \ |
| 158 | - -n "__fish_seen_subcommand_from install add remove update" -l 'cache-dir' -d 'Choose a cache directory (default: $HOME/.bun/install/cache)' | 159 | + -n "__fish_seen_subcommand_from install add" -l 'development' -d 'Add dependency to devDependencies' |
| 160 | + | ||
| 161 | +complete -c bun \ | ||
| 162 | + -n "__fish_seen_subcommand_from install add remove update dedupe" -l 'cwd' -d 'Change working directory' | ||
| 163 | + | ||
| 164 | +complete -c bun \ | ||
| 165 | + -n "__fish_seen_subcommand_from install add remove update dedupe" -l 'cache-dir' -d 'Choose a cache directory (default: $HOME/.bun/install/cache)' | ||
| 166 | + | ||
| 167 | +complete -c bun \ | ||
| 168 | + -n "__fish_seen_subcommand_from install add remove" -s 'F' -l 'filter' -r -d 'Apply to the matching workspaces instead of the current package' | ||
| 169 | + | ||
| 170 | +complete -c bun \ | ||
| 171 | + -n "__fish_seen_subcommand_from install add" -l 'catalog' -d 'Add the resolved version to the root package.json catalog and depend on it as "catalog:" (--catalog=NAME for a named catalog)' | ||
| 172 | + | ||
| 173 | +complete -c bun \ | ||
| 174 | + -n "__fish_seen_subcommand_from dedupe" -l 'check' -d 'Exit with code 1 if the lockfile has duplicate versions that can be removed, without changing anything' | ||
| 159 | 175 | ||
| 160 | complete -c bun \ | 176 | complete -c bun \ |
| 161 | -n "__fish_seen_subcommand_from add" -d 'Popular' -a '(__fish__get_bun_packages)' | 177 | -n "__fish_seen_subcommand_from add" -d 'Popular' -a '(__fish__get_bun_packages)' |
| @@ -164,10 +180,28 @@ complete -c bun \ | |||
| 164 | -n "__fish_seen_subcommand_from add" -d 'History' -a '(__history_completions)' | 180 | -n "__fish_seen_subcommand_from add" -d 'History' -a '(__history_completions)' |
| 165 | 181 | ||
| 166 | complete -c bun \ | 182 | complete -c bun \ |
| 167 | - -n "__fish_seen_subcommand_from pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) cache;" -a 'bin ls cache hash hash-print hash-string' -f | 183 | + -n "__fish_seen_subcommand_from pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) cache;" -a 'bin ls licenses cache hash hash-print hash-string' -f |
| 184 | + | ||
| 185 | +complete -c bun \ | ||
| 186 | + -n "__fish_seen_subcommand_from pm; and __fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts);" -a 'rm prune pack unpack' -f | ||
| 187 | + | ||
| 188 | +complete -c bun \ | ||
| 189 | + -n "__fish_seen_subcommand_from pm; and __fish_seen_subcommand_from licenses" -l 'json' -d 'Output as JSON' -f | ||
| 190 | + | ||
| 191 | +complete -c bun \ | ||
| 192 | + -n "__fish_seen_subcommand_from pm; and __fish_seen_subcommand_from licenses" -l 'prod' -d 'Omit devDependencies' -f | ||
| 193 | + | ||
| 194 | +complete -c bun \ | ||
| 195 | + -n "__fish_seen_subcommand_from pm; and __fish_seen_subcommand_from licenses" -l 'production' -d 'Omit devDependencies' -f | ||
| 196 | + | ||
| 197 | +complete -c bun \ | ||
| 198 | + -n "__fish_seen_subcommand_from pm; and __fish_seen_subcommand_from licenses" -l 'dev' -s 'D' -d 'List only what devDependencies pull in' -f | ||
| 199 | + | ||
| 200 | +complete -c bun \ | ||
| 201 | + -n "__fish_seen_subcommand_from pm; and __fish_seen_subcommand_from licenses" -l 'long' -d 'Also print author, description and homepage' -f | ||
| 168 | 202 | ||
| 169 | complete -c bun \ | 203 | complete -c bun \ |
| 170 | - -n "__fish_seen_subcommand_from pm; and __fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts);" -a 'rm' -f | 204 | + -n "__fish_seen_subcommand_from pm; and __fish_seen_subcommand_from licenses" -l 'filter' -s 'F' -d 'List only the matching workspaces' -r |
| 171 | 205 | ||
| 172 | # Add built-in subcommands with descriptions. | 206 | # Add built-in subcommands with descriptions. |
| 173 | complete -c bun -n "__fish_use_subcommand" -a "create" -f -d "Create a new project from a template" | 207 | complete -c bun -n "__fish_use_subcommand" -a "create" -f -d "Create a new project from a template" |
| @@ -183,8 +217,239 @@ complete -c bun -n "__fish_use_subcommand" -a "unlink" -d "Unregister a local np | |||
| 183 | complete -c bun -n "__fish_use_subcommand" -a "pm" -d "Additional package management utilities" -f | 217 | complete -c bun -n "__fish_use_subcommand" -a "pm" -d "Additional package management utilities" -f |
| 184 | complete -c bun -n "__fish_use_subcommand" -a "x" -d "Execute a package binary, installing if needed" -f | 218 | complete -c bun -n "__fish_use_subcommand" -a "x" -d "Execute a package binary, installing if needed" -f |
| 185 | complete -c bun -n "__fish_use_subcommand" -a "outdated" -d "Display the latest versions of outdated dependencies" -f | 219 | complete -c bun -n "__fish_use_subcommand" -a "outdated" -d "Display the latest versions of outdated dependencies" -f |
| 220 | +complete -c bun -n "__fish_use_subcommand" -a "audit" -d "Check installed packages for vulnerabilities" -f | ||
| 221 | +complete -c bun -n "__fish_use_subcommand" -a "check" -d "Type check a TypeScript project" -f | ||
| 222 | +complete -c bun -n "__fish_seen_subcommand_from check" -s "p" -l "project" -r -F -d "Path to a tsconfig.json or its directory" | ||
| 223 | +complete -c bun -n "__fish_seen_subcommand_from check" -l "pretty" -d "Show source code around each error" | ||
| 224 | +complete -c bun -n "__fish_seen_subcommand_from check" -s "b" -l "build" -d "Check the projects in references too, like tsc -b" | ||
| 225 | +complete -c bun -n "__fish_seen_subcommand_from check" -l "no-pretty" -d "One line per error" | ||
| 226 | +complete -c bun -n "__fish_seen_subcommand_from check" -l "all" -d "Show every error" | ||
| 227 | +complete -c bun -n "__fish_seen_subcommand_from check" -l "threads" -r -d "Number of threads" | ||
| 228 | +complete -c bun -n "__fish_seen_subcommand_from check" -l "timing" -d "Print load and check times" | ||
| 229 | +complete -c bun -n "__fish_seen_subcommand_from check" -l "cwd" -r -d "Set the working directory" | ||
| 230 | +complete -c bun -n "__fish_seen_subcommand_from check" -l "no-script" -d "Run the type checker even if the project has a check script" | ||
| 231 | +complete -c bun -n "__fish_use_subcommand" -a "lint" -d "Lint JavaScript and TypeScript" -f | ||
| 232 | +complete -c bun -n "__fish_seen_subcommand_from lint" -s "c" -l "config" -r -F -d "Use this config file instead of looking for one" | ||
| 233 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "no-config-lookup" -d "Do not look for a config file" | ||
| 234 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "rule" -r -d "Set a rule, or turn off a plugin: --rule 'eqeqeq: [error, smart]', --rule 'unicorn/*: off'" | ||
| 235 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "rules" -d "List the built-in rules" | ||
| 236 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "explain" -r -d "Print the documentation of a rule" | ||
| 237 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "init" -d "Add a [lint] section to bunfig.toml" | ||
| 238 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "global" -r -d "Define global variables: --global a,b:true" | ||
| 239 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "no-inline-config" -d "Ignore eslint-disable and other config comments" | ||
| 240 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "report-unused-disable-directives" -d "Report eslint-disable comments that disable nothing" | ||
| 241 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "print-config" -r -F -d "Print the config for a file and exit" | ||
| 242 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "doctor" -d "Show which rules run natively and which packages you can remove" | ||
| 243 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "allow-unsupported" -d "Warn instead of failing when the config has a rule or file that is not supported" | ||
| 244 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "staged" -d "Only lint files that are staged in git" | ||
| 245 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "changed" -d "Only lint files that differ from a branch or commit (default: the default branch)" | ||
| 246 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "ignore-pattern" -r -d "Skip files that match this pattern" | ||
| 247 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "ignore-path" -r -F -d "Read ignore patterns from this file instead of .eslintignore" | ||
| 248 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "no-ignore" -d "Lint ignored files too" | ||
| 249 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "ext" -r -d "Also lint files with these extensions" | ||
| 250 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "stdin" -d "Lint code from standard input" | ||
| 251 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "stdin-filename" -r -F -d "The file name to use for code from standard input" | ||
| 252 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "list-files" -d "Print the files that would be linted and exit" | ||
| 253 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "no-error-on-unmatched-pattern" -d "Do not fail when an argument matches no file" | ||
| 254 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "cwd" -r -d "Set the working directory" | ||
| 255 | +complete -c bun -n "__fish_seen_subcommand_from lint" -s "f" -l "format" -r -d "pretty (default), stylish, json, json-with-metadata, unix, github, agent, checkstyle, junit, gitlab, sarif" | ||
| 256 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "all" -d "Show every problem (pretty and agent group identical problems above 50)" | ||
| 257 | +complete -c bun -n "__fish_seen_subcommand_from lint" -s "o" -l "output-file" -r -F -d "Write the report to a file" | ||
| 258 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "quiet" -d "Report errors only" | ||
| 259 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "max-warnings" -r -d "Exit with 1 if there are more warnings than this" | ||
| 260 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "color" -d "Always use colors" | ||
| 261 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "no-color" -d "Never use colors" | ||
| 262 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "timing" -d "Print how long each phase took" | ||
| 263 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "fix" -d "Fix problems and write the files" | ||
| 264 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "fix-dry-run" -d "Fix without writing. The json format has the fixed code" | ||
| 265 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "fix-type" -r -d "Only apply fixes from rules of these types: directive, problem, suggestion, layout" | ||
| 266 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "fix-suggestions" -d "Apply suggestions" | ||
| 267 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "fix-dangerously" -d "Apply every fix and suggestion, even those that can change behavior" | ||
| 268 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "type-aware" -d "Also run the rules that need types" | ||
| 269 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "no-type-aware" -d "Skip the rules that need types" | ||
| 270 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "tsconfig" -r -F -d "Use this tsconfig.json instead of the nearest one" | ||
| 271 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "type-check" -d "With --type-aware, report type errors too" | ||
| 272 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "infer-globals" -d "Also treat what the project's types declare as globals" | ||
| 273 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "no-infer-globals" -d "Do not take globals from the project's types" | ||
| 274 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "threads" -r -d "Number of threads (default: one per CPU core)" | ||
| 275 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "no-script" -d "Run the linter even if the project has a lint script" | ||
| 276 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "help-all" -d "The same as --help --all" | ||
| 277 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "flavor" -r -d "Use the eslint or the oxlint config in a project that has both" | ||
| 278 | +complete -c bun -n "__fish_seen_subcommand_from lint" -s "p" -l "project" -r -F -d "The same as --tsconfig" | ||
| 279 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "parser-options" -r -d "Set parser options: --parser-options projectService:true" | ||
| 280 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "parser" -r -d "Parse files with this package" | ||
| 281 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "plugin" -r -d "Load these plugins" | ||
| 282 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "native-plugin-rules" -r -d "Of the ESLint plugins a config loads, run only these natively: import,react-hooks (default: all)" | ||
| 283 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "no-native-plugin-rules" -d "Run plugin rules from the installed packages, in JavaScript" | ||
| 284 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "report-unused-disable-directives-severity" -r -d "Report unused eslint-disable comments as off, warn or error" | ||
| 285 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "report-unused-inline-configs" -r -d "Report config comments that change nothing" | ||
| 286 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "no-warn-ignored" -d "Do not warn when an argument names an ignored file" | ||
| 287 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "suppress-all" -d "Record the current errors in eslint-suppressions.json and stop reporting them" | ||
| 288 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "suppress-rule" -r -d "The same, for the errors of one rule" | ||
| 289 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "suppressions-location" -r -F -d "Use this file instead of eslint-suppressions.json" | ||
| 290 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "prune-suppressions" -d "Remove recorded errors that no longer occur from that file" | ||
| 291 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "pass-on-unpruned-suppressions" -d "Do not fail when that file has errors that no longer occur" | ||
| 292 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "pass-on-no-patterns" -d "Exit with 0 when there are no arguments, instead of linting ." | ||
| 293 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "exit-on-fatal-error" -d "Exit with 2 if a file cannot be parsed" | ||
| 294 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "concurrency" -r -d "The same as --threads" | ||
| 295 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "env-info" -d "Print the versions of Bun, ESLint and TypeScript" | ||
| 296 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "no-eslintrc" -d "ESLint 8: do not look for .eslintrc files" | ||
| 297 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "env" -r -d "ESLint 8: turn on these environments" | ||
| 298 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "rulesdir" -r -F -d "ESLint 8: load rules from these directories" | ||
| 299 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "resolve-plugins-relative-to" -r -F -d "ESLint 8: look for plugins from this directory" | ||
| 300 | +complete -c bun -n "__fish_seen_subcommand_from lint" -s "A" -l "allow" -r -d "Turn off a rule or a category" | ||
| 301 | +complete -c bun -n "__fish_seen_subcommand_from lint" -s "W" -l "warn" -r -d "Make a rule or a category a warning" | ||
| 302 | +complete -c bun -n "__fish_seen_subcommand_from lint" -s "D" -l "deny" -r -d "Make a rule or a category an error" | ||
| 303 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "deny-warnings" -d "Exit with 1 if there are warnings" | ||
| 304 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "silent" -d "Print no problems" | ||
| 305 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "disable-nested-config" -d "Use the config file in the working directory for every file" | ||
| 306 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "import-plugin" -d "Turn on the import plugin" | ||
| 307 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "react-plugin" -d "Turn on the react plugin" | ||
| 308 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "jsdoc-plugin" -d "Turn on the jsdoc plugin" | ||
| 309 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "jest-plugin" -d "Turn on the jest plugin" | ||
| 310 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "vitest-plugin" -d "Turn on the vitest plugin" | ||
| 311 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "jsx-a11y-plugin" -d "Turn on the jsx-a11y plugin" | ||
| 312 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "nextjs-plugin" -d "Turn on the nextjs plugin" | ||
| 313 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "react-perf-plugin" -d "Turn on the react-perf plugin" | ||
| 314 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "promise-plugin" -d "Turn on the promise plugin" | ||
| 315 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "node-plugin" -d "Turn on the node plugin" | ||
| 316 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "vue-plugin" -d "Turn on the vue plugin" | ||
| 317 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "disable-unicorn-plugin" -d "Turn off the unicorn plugin" | ||
| 318 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "disable-oxc-plugin" -d "Turn off the oxc plugin" | ||
| 319 | +complete -c bun -n "__fish_seen_subcommand_from lint" -l "disable-typescript-plugin" -d "Turn off the typescript plugin" | ||
| 320 | +complete -c bun -n "__fish_use_subcommand" -a "fmt" -d "Format code the way Prettier does" -f | ||
| 321 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "config" -r -F -d "Use this config file instead of looking for one" | ||
| 322 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "no-config" -d "Do not look for a config file" | ||
| 323 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "no-editorconfig" -d "Do not read .editorconfig" | ||
| 324 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "init" -d "Add a [fmt] section to bunfig.toml" | ||
| 325 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "doctor" -d "Show which files are formatted natively and which packages you can remove" | ||
| 326 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "print-width" -r -d "The line length to wrap at (default: 80)" | ||
| 327 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "tab-width" -r -d "Spaces per indentation level (default: 2)" | ||
| 328 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "use-tabs" -d "Indent with tabs" | ||
| 329 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "no-semi" -d "Only print semicolons where they are needed" | ||
| 330 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "single-quote" -d "Use single quotes" | ||
| 331 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "jsx-single-quote" -d "Use single quotes in JSX" | ||
| 332 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "quote-props" -r -d "as-needed (default), consistent, or preserve" | ||
| 333 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "trailing-comma" -r -d "all (default), es5, or none" | ||
| 334 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "no-bracket-spacing" -d "No spaces inside the braces of an object literal" | ||
| 335 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "bracket-same-line" -d "Put the closing bracket of a multi-line element at the end of the last line" | ||
| 336 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "arrow-parens" -r -d "always (default) or avoid" | ||
| 337 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "object-wrap" -r -d "preserve (default) or collapse" | ||
| 338 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "single-attribute-per-line" -d "One attribute per line in HTML, Vue, and JSX" | ||
| 339 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "html-whitespace-sensitivity" -r -d "css (default), strict, or ignore" | ||
| 340 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "vue-indent-script-and-style" -d "Indent the code in the script and style tags of Vue files" | ||
| 341 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "prose-wrap" -r -d "preserve (default), always, or never" | ||
| 342 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "embedded-language-formatting" -r -d "auto (default) or off" | ||
| 343 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "end-of-line" -r -d "lf (default), crlf, cr, or auto" | ||
| 344 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "no-insert-final-newline" -d "Do not end files with a newline" | ||
| 345 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "sort-imports" -d "Sort and group imports" | ||
| 346 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "sort-tailwindcss" -d "Sort Tailwind CSS classes" | ||
| 347 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "sort-package-json" -d "Sort the keys of package.json" | ||
| 348 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "jsdoc" -d "Format JSDoc comments" | ||
| 349 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "svelte" -d "Format Svelte components (default without a Prettier or oxfmt config)" | ||
| 350 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "no-svelte" -d "Do not format Svelte components" | ||
| 351 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "staged" -d "Only format files that are staged in git, and stage them again" | ||
| 352 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "changed" -d "Only format files that differ from a branch or commit (default: the default branch)" | ||
| 353 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "stdin-filepath" -r -F -d "Format standard input as this file and print the result" | ||
| 354 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "ignore-path" -r -F -d "Read ignore patterns from these files (default: .gitignore, .prettierignore, .git/info/exclude)" | ||
| 355 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "ignore-pattern" -r -d "Skip files that match this pattern" | ||
| 356 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "with-node-modules" -d "Format files in node_modules too" | ||
| 357 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "no-error-on-unmatched-pattern" -d "Do not fail when an argument matches no file" | ||
| 358 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -s "u" -l "ignore-unknown" -d "Ignore files in an unknown language" | ||
| 359 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "allow-unsupported" -d "Warn instead of failing when the language of a file is not supported" | ||
| 360 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "list-files" -d "Print the files that would be formatted and exit" | ||
| 361 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "cwd" -r -d "Set the working directory" | ||
| 362 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -s "c" -l "check" -d "Do not write. Exit with 1 if a file needs formatting" | ||
| 363 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -s "l" -l "list-different" -d "Do not write. Print the files that need formatting and exit with 1 if there are any" | ||
| 364 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "log-level" -r -d "silent, error, warn, log (default), or debug" | ||
| 365 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -s "f" -l "format" -r -d "With --doctor, print the report as json" | ||
| 366 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "color" -d "Always use colors" | ||
| 367 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "no-color" -d "Never use colors" | ||
| 368 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "timing" -d "Print how long each phase took" | ||
| 369 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "threads" -r -d "Number of threads (default: one per CPU core)" | ||
| 370 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "debug-check" -d "Do not write. Fail if formatting a file would change what it means" | ||
| 371 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "no-script" -d "Run the formatter even if the project has a fmt script" | ||
| 372 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "all" -d "With --help, print every flag" | ||
| 373 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "help-all" -d "The same as --help --all" | ||
| 374 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -s "w" -l "write" -d "Write the files. This is the default" | ||
| 375 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "config-precedence" -r -d "cli-override (default), file-override, or prefer-file" | ||
| 376 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "find-config-path" -r -F -d "Print the path of the config for a file and exit" | ||
| 377 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "parser" -r -d "Read every file with this parser" | ||
| 378 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "plugin" -r -d "Load these plugins" | ||
| 379 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "require-pragma" -d "Only format files that start with a @format or @prettier comment" | ||
| 380 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "check-ignore-pragma" -d "Skip files that start with a @noformat or @noprettier comment" | ||
| 381 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "insert-pragma" -d "Put a @format comment at the top of formatted files" | ||
| 382 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "range-start" -r -d "Only format the statements from this offset on" | ||
| 383 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "range-end" -r -d "Only format the statements up to this offset" | ||
| 384 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "cursor-offset" -r -d "With --stdin-filepath, print on stderr where this offset ends up" | ||
| 385 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "experimental-ternaries" -d "Put the question mark of a ternary after the condition" | ||
| 386 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "experimental-operator-position" -r -d "end (default) or start" | ||
| 387 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "jsx-bracket-same-line" -d "The old name of --bracket-same-line" | ||
| 388 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "flavor" -r -d "Without a config file, format like prettier or like oxfmt" | ||
| 389 | +complete -c bun -n "__fish_seen_subcommand_from fmt" -l "disable-nested-config" -d "Use the config file in the working directory for every file" | ||
| 390 | +complete -c bun -n "__fish_use_subcommand" -a "dedupe" -d "Remove duplicate versions from the lockfile" -f | ||
| 391 | +complete -c bun -n "__fish_use_subcommand" -a "prune" -d "Remove packages that are not in the lockfile from node_modules" -f | ||
| 392 | +complete -c bun -n "__fish_seen_subcommand_from audit; and not __fish_seen_subcommand_from fix" -a "fix" -d "Upgrade vulnerable packages to the lowest safe version" -f | ||
| 393 | +complete -c bun -n "__fish_seen_subcommand_from audit" -l "json" -d "Output in JSON format" -f | ||
| 394 | +complete -c bun -n "__fish_seen_subcommand_from audit" -l "audit-level" -r -a "low moderate high critical" -d "Only print advisories at or above this severity" -f | ||
| 395 | +complete -c bun -n "__fish_seen_subcommand_from audit" -l "ignore" -r -d "Ignore advisories by GHSA or numeric advisory ID" -f | ||
| 396 | +complete -c bun -n "__fish_seen_subcommand_from audit" -l "prod" -d "Omit devDependencies" -f | ||
| 397 | +complete -c bun -n "__fish_seen_subcommand_from audit prune" -l "omit" -r -a "dev optional peer" -d "Omit the given dependency type" -f | ||
| 398 | +complete -c bun -n "__fish_seen_subcommand_from audit prune" -l "dry-run" -d "Print what would change without changing anything" -f | ||
| 399 | +complete -c bun -n "__fish_seen_subcommand_from prune" -l "check" -d "Exit with code 1 if node_modules has packages that can be removed, without deleting anything" -f | ||
| 400 | +complete -c bun -n "__fish_seen_subcommand_from audit; and __fish_seen_subcommand_from fix" -s "L" -l "latest" -d "Also apply fixes that fall outside the ranges declared in package.json or catalogs" -f | ||
| 401 | +complete -c bun -n "__fish_seen_subcommand_from prune" -s "p" -l "production" -d "Also remove packages that are only needed by devDependencies" -f | ||
| 402 | +complete -c bun -n "__fish_seen_subcommand_from prune" -s "P" -l "prod" -d "Also remove packages that are only needed by devDependencies" -f | ||
| 403 | +complete -c bun -n "__fish_seen_subcommand_from prune" -l "os" -r -d "Prune for a different operating system than the current one" -f | ||
| 404 | +complete -c bun -n "__fish_seen_subcommand_from prune" -l "cpu" -r -d "Prune for a different CPU architecture than the current one" -f | ||
| 405 | +complete -c bun -n "__fish_seen_subcommand_from prune" -l "libc" -r -a "glibc musl" -d "Prune for a different libc than the current one" -f | ||
| 406 | +complete -c bun -n "__fish_seen_subcommand_from prune" -l "linker" -r -a "isolated hoisted" -d "Linker to assume when node_modules mixes isolated and hoisted installs" -f | ||
| 407 | +complete -c bun -n "__fish_seen_subcommand_from prune" -s "F" -l "filter" -r -d "Prune only the matching workspaces" -f | ||
| 408 | +complete -c bun -n "__fish_seen_subcommand_from prune" -l "silent" -d "Don't log anything" -f | ||
| 409 | +complete -c bun -n "__fish_seen_subcommand_from audit prune" -l "cwd" -r -d "Set a specific cwd" | ||
| 186 | complete -c bun -n "__fish_use_subcommand" -a "update" -d "Update dependencies to their latest versions" -f | 410 | complete -c bun -n "__fish_use_subcommand" -a "update" -d "Update dependencies to their latest versions" -f |
| 411 | +complete -c bun -n "__fish_seen_subcommand_from update" -s "p" -l "production" -d "Only update dependencies and optionalDependencies" -f | ||
| 412 | +complete -c bun -n "__fish_seen_subcommand_from update" -s "P" -l "prod" -d "Only update dependencies and optionalDependencies" -f | ||
| 413 | +complete -c bun -n "__fish_seen_subcommand_from update" -s "d" -l "dev" -d "Only update devDependencies" -f | ||
| 414 | +complete -c bun -n "__fish_seen_subcommand_from update" -s "D" -l "development" -d "Only update devDependencies" -f | ||
| 415 | +complete -c bun -n "__fish_seen_subcommand_from update" -l "no-optional" -d "Don't update optionalDependencies" -f | ||
| 416 | +complete -c bun -n "__fish_seen_subcommand_from update" -s "E" -l "exact" -d "Write exact versions to package.json instead of ^ or ~ ranges" -f | ||
| 417 | +complete -c bun -n "__fish_seen_subcommand_from update" -s "L" -l "latest" -d "Update packages to their latest versions, ignoring the ranges in package.json" -f | ||
| 418 | +complete -c bun -n "__fish_seen_subcommand_from update" -s "i" -l "interactive" -d "Show an interactive list of outdated packages to select for update" -f | ||
| 419 | +complete -c bun -n "__fish_seen_subcommand_from update" -s "r" -l "recursive" -d "Update packages in all workspaces" -f | ||
| 420 | +complete -c bun -n "__fish_seen_subcommand_from update" -s "F" -l "filter" -r -d "Update packages for the matching workspaces" -f | ||
| 421 | +complete -c bun -n "__fish_seen_subcommand_from update" -s "g" -l "global" -d "Update the packages installed globally" -f | ||
| 422 | +complete -c bun -n "__fish_seen_subcommand_from update" -s "y" -l "yarn" -d "Write a yarn.lock file (yarn v1)" -f | ||
| 423 | +complete -c bun -n "__fish_seen_subcommand_from update" -l "no-save" -d "Don't update package.json or save a lockfile" -f | ||
| 424 | +complete -c bun -n "__fish_seen_subcommand_from update" -l "dry-run" -d "Perform a dry run without making changes" -f | ||
| 425 | +complete -c bun -n "__fish_seen_subcommand_from update" -s "f" -l "force" -d "Always request the latest versions from the registry & reinstall all dependencies" -f | ||
| 426 | +complete -c bun -n "__fish_seen_subcommand_from update" -l "no-cache" -d "Ignore manifest cache entirely" -f | ||
| 427 | +complete -c bun -n "__fish_seen_subcommand_from update" -l "silent" -d "Don't log anything" -f | ||
| 428 | +complete -c bun -n "__fish_seen_subcommand_from update" -l "verbose" -d "Excessively verbose logging" -f | ||
| 187 | complete -c bun -n "__fish_use_subcommand" -a "publish" -d "Publish your package from local to npm" -f | 429 | complete -c bun -n "__fish_use_subcommand" -a "publish" -d "Publish your package from local to npm" -f |
| 430 | +complete -c bun -n "__fish_seen_subcommand_from publish" -s "r" -l "recursive" -d "Publish every workspace package whose version is not on the registry" -f | ||
| 431 | +complete -c bun -n "__fish_seen_subcommand_from publish" -s "F" -l "filter" -r -d "Publish each matching workspace package" -f | ||
| 432 | +complete -c bun -n "__fish_seen_subcommand_from publish" -l "access" -r -a "public restricted" -d "Set access level for scoped packages" -f | ||
| 433 | +complete -c bun -n "__fish_seen_subcommand_from publish" -l "tag" -r -d "Tag the release. Default is \"latest\"" -f | ||
| 434 | +complete -c bun -n "__fish_seen_subcommand_from publish" -l "otp" -r -d "Provide a one-time password for authentication" -f | ||
| 435 | +complete -c bun -n "__fish_seen_subcommand_from publish" -l "auth-type" -r -a "web legacy" -d "Specify the type of one-time password authentication" -f | ||
| 436 | +complete -c bun -n "__fish_seen_subcommand_from publish" -l "gzip-level" -r -d "Specify a custom compression level for gzip. Default is 9." -f | ||
| 437 | +complete -c bun -n "__fish_seen_subcommand_from publish" -l "tolerate-republish" -d "Don't exit with code 1 when republishing over an existing version number" -f | ||
| 438 | +complete -c bun -n "__fish_seen_subcommand_from publish" -l "dry-run" -d "Perform a dry run without making changes" -f | ||
| 439 | +complete -c bun -n "__fish_seen_subcommand_from publish" -l "ignore-scripts" -d "Skip lifecycle scripts" -f | ||
| 440 | +complete -c bun -n "__fish_seen_subcommand_from publish" -l "registry" -r -d "Use a specific registry by default" -f | ||
| 441 | +complete -c bun -n "__fish_seen_subcommand_from publish" -l "silent" -d "Don't log anything" -f | ||
| 442 | +complete -c bun -n "__fish_seen_subcommand_from publish" -l "verbose" -d "Excessively verbose logging" -f | ||
| 443 | +complete -c bun -n "__fish_seen_subcommand_from publish" -l "cwd" -r -d "Set a specific cwd" | ||
| 444 | +complete -c bun -n "__fish_seen_subcommand_from x" -l "bun" -d "Force the command to run with Bun instead of Node.js" -f | ||
| 445 | +complete -c bun -n "__fish_seen_subcommand_from x" -s "p" -l "package" -r -d "Package to install when the binary name differs from the package name" -f | ||
| 446 | +complete -c bun -n "__fish_seen_subcommand_from x" -l "no-install" -d "Skip installation if the package is not already installed" -f | ||
| 447 | +complete -c bun -n "__fish_seen_subcommand_from x" -l "cwd" -r -d "Set the working directory" | ||
| 448 | +complete -c bun -n "__fish_seen_subcommand_from x" -l "env-file" -r -d "Load environment variables from the specified file(s)" | ||
| 449 | +complete -c bun -n "__fish_seen_subcommand_from x" -l "minimum-release-age" -r -d "Only install packages published at least N seconds ago" -f | ||
| 450 | +complete -c bun -n "__fish_seen_subcommand_from x" -l "trust" -d "Run the lifecycle scripts of the package and of ALL of its dependencies" -f | ||
| 451 | +complete -c bun -n "__fish_seen_subcommand_from x" -l "verbose" -d "Enable verbose output during installation" -f | ||
| 452 | +complete -c bun -n "__fish_seen_subcommand_from x" -l "silent" -d "Suppress output during installation" -f | ||
| 188 | complete -c bun -n "__fish_use_subcommand" -a "repl" -d "Start a REPL session with Bun" -f | 453 | complete -c bun -n "__fish_use_subcommand" -a "repl" -d "Start a REPL session with Bun" -f |
| 189 | complete -c bun -n "__fish_seen_subcommand_from repl" -s "e" -l "eval" -r -d "Evaluate argument as a script, then exit" -f | 454 | complete -c bun -n "__fish_seen_subcommand_from repl" -s "e" -l "eval" -r -d "Evaluate argument as a script, then exit" -f |
| 190 | complete -c bun -n "__fish_seen_subcommand_from repl" -s "p" -l "print" -r -d "Evaluate argument as a script, print the result, then exit" -f | 455 | complete -c bun -n "__fish_seen_subcommand_from repl" -s "p" -l "print" -r -d "Evaluate argument as a script, print the result, then exit" -f |