Pesquisar

Este conteúdo não está disponível no idioma selecionado.

Chapter 1. Configuring the GitOps CLI

download PDF
Important

The Red Hat OpenShift GitOps argocd CLI tool is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.

You can configure the GitOps argocd CLI to enable tab completion.

1.1. Enabling tab completion

After you install the GitOps argocd CLI, you can enable tab completion to automatically complete argocd commands or suggest options when you press Tab.

Note

Tab completions only exist for the Bash shell.

Prerequisites

  • You must have the GitOps argocd CLI tool installed.
  • You must have bash-completion installed on your local system.

Procedure

The following procedure enables tab completion for the Bash shell.

  1. Save the Bash completion code to a file:

    $ argocd completion bash > argocd_bash_completion
  2. Copy the file to /etc/bash_completion.d/:

    $ sudo cp argocd_bash_completion /etc/bash_completion.d/

    Alternatively, you can save the file to a local directory and source it from your .bash_profile file instead.

Tab completion is enabled when you open a new terminal.

1.2. Additional resources

Red Hat logoGithubRedditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja oBlog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

© 2024 Red Hat, Inc.