Share via


az fzf

Note

This reference is part of the fzf extension for the Azure CLI (version 2.9.0 or higher). The extension will automatically install the first time you run an az fzf command. Learn more about extensions.

Commands to select active or default objects via fzf.

Select your active subscription or set defaults with an easy selection interface (fzf).

Search syntax:

Token Match type Description


sbtrkt fuzzy-match Items that match sbtrkt 'wild exact-match (quoted) Items that include wild ^music prefix-exact-match Items that start with music .mp3$ suffix-exact-match Items that end with .mp3 !fire inverse-exact-match Items that do not include fire !^music inverse-prefix-exact-match Items that do not start with music !.mp3$ inverse-suffix-exact-match Items that do not end with .mp3

More information about search syntax or fzf in general can be found on the fzf project page: https://github.com/junegunn/fzf#search-syntax.

Commands

Name Description Type Status
az fzf group

Select default resource group.

Extension GA
az fzf install

Download and install the fzf command.

Extension GA
az fzf location

Select default location.

Extension GA
az fzf subscription

Select default subscription.

Extension GA

az fzf group

Select default resource group.

az fzf group [--filter]
             [--no-default]

Optional Parameters

--filter -f

A filter string to pass to fzf.

--no-default -d

Don't change the active or default, just return selected item.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az fzf install

Download and install the fzf command.

az fzf install [--install-dir]
               [--version]

Optional Parameters

--install-dir -i

Path to the directory where fzf should be installed.

--version -v

Version of fzf to install.

Default value: latest
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az fzf location

Select default location.

az fzf location [--filter]
                [--no-default]

Optional Parameters

--filter -f

A filter string to pass to fzf.

--no-default -d

Don't change the active or default, just return selected item.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az fzf subscription

Select default subscription.

az fzf subscription [--filter]
                    [--no-default]

Optional Parameters

--filter -f

A filter string to pass to fzf.

--no-default -d

Don't change the active or default, just return selected item.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.