cec completion

Add auto-completion helper to Cells Client



Install a completion helper to the Cells Client.

This command configures an additional plugin to provide suggestions when hitting the 'tab' key.

./cec completion [flags]


1) Using Bash

    # Add to current bash session:
        source <(./cec completion bash)

    # Debian/Ubuntu/CentOS
        ./cec completion bash | sudo tee /etc/bash_completion.d/cec

    # macOS
        ./cec completion bash | tee /usr/local/etc/bash_completion.d/cec

2) Zsh

    # Add to current zsh session:
        source <(./cec completion zsh)

    # Debian/Ubuntu/CentOS:
        ./cec completion zsh | sudo tee <path>/<to>/<your zsh completion folder>

    # macOS
        ./cec completion zsh | tee /Users/<your current user>/.zsh/completion/_cec

#### You must insure the 'bash-completion' library is installed:

    # Debian / Ubuntu
        sudo apt install bash-completion

    # RHEL / CentOS
        sudo yum install bash-completion

    # On MacOS (after the installation make sure to follow the instructions displayed by Homebrew)
        brew install bash-completion


  -h, --help   help for completion

Options inherited from parent commands

      --config string     Location of Cells Client's config files (default: /home/teamcity/.config/pydio/cells-client/config.json)
      --log string        change log level (default: info) (default "info")
      --login string      The user login, for Client auth only
      --no-cache          Force token refresh at each call. This might slow down scripts with many calls
      --password string   The user password, for Client auth only
      --skip-keyring      Explicitly tell the tool to *NOT* try to use a keyring, even if present. Warning: sensitive information will be stored in clear text
      --skip-verify       By default the Cells Client verifies the validity of TLS certificates for each communication. This option skips TLS certificate verification
  -t, --token string      A valid Personal Access Token (PAT)
  -u, --url string        The full URL of the target server


Auto generated by Cells Client v4.2.0 on 24-Jun-2024
Back to top