แก้ไข

แชร์ผ่าน


BlobFuse2 completion bash command

Use the blobfuse2 completion bash command to generate the autocompletion script for BlobFuse2 for the bash shell.

Syntax

blobfuse2 completion bash --[flag-name]=[flag-value]

Flags (options)

Flags that apply to blobfuse2 completion bash are inherited from the grandparent command, blobfuse2, or apply only to the blobfuse2 completion subcommands.

Flags inherited from the BlobFuse2 command

The following flags are inherited from grandparent command blobfuse2:

Flag Short version Value type Default value Description
disable-version-check boolean false Enables or disables automatic version checking of the BlobFuse2 binaries
help -h n/a Help info for the blobfuse2 command and subcommands

Flags that apply to the BlobFuse2 completion subcommands

The following flags apply only to the blobfuse2 completion subcommands:

Flag Value type Default value Description
no-descriptions boolean false Disable completion descriptions

Usage

The generated script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager.

To load completions in your current shell session:

source <(blobfuse2 completion bash)

To load completions for every new session, execute once:

  • On Linux:

    blobfuse2 completion bash > /etc/bash_completion.d/blobfuse2
    
  • On macOS:

    blobfuse2 completion bash > /usr/local/etc/bash_completion.d/blobfuse2
    

Note

You will need to start a new shell for this setup to take effect.

See also