Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added bruno completions #10388

Merged
merged 2 commits into from Apr 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions share/completions/bru.fish
@@ -0,0 +1,15 @@

complete -c bru -s h -l help -d "Show help"
complete -c bru -l version -d "Show version number"

complete -c bru -a run -d "Run a request"

complete -c bru -s r --condition '__fish_seen_subcommand_from run' -d "Indicates a recursive run"
complete -c bru -l cacert --condition '__fish_seen_subcommand_from run' -d "CA certificate to verify peer against"
complete -c bru -l env --condition '__fish_seen_subcommand_from run' -d "Environment variables"
complete -c bru -l env-var --condition '__fish_seen_subcommand_from run' -d "Overwrite a single environment variable, multiple usages possible"
complete -c bru -s o -l output --condition '__fish_seen_subcommand_from run' -d "Path to write file results to"
complete -c bru -s f -l format --condition '__fish_seen_subcommand_from run' -d "Format of the file results; available formats are \"json\" (default), \"junit\" or \"html\""
faluciano marked this conversation as resolved.
Show resolved Hide resolved
complete -c bru -l insecure --condition '__fish_seen_subcommand_from run' -d "Allow insecure connections"
complete -c bru -l tests-only --condition '__fish_seen_subcommand_from run' -d "Only run requests that have a test"
complete -c bru -l bail --condition '__fish_seen_subcommand_from run' -d "Stop execution after a failure of a request, test or assertion"