Neon is now SOC 2 Type 2 compliant 🚀Read more
Reference/Neon CLI

Neon CLI commands — completion

Use the Neon CLI to manage Neon directly from the terminal

Before you begin

Before running the completion command, ensure that you have installed the Neon CLI.

The completion command

This command generates a completion script for the neonctl command-line interface (CLI). The completion script, when installed, helps you type neonctl commands faster and more accurately. It does this by presenting the possible commands and options when you press the tab key after typing or partially typing a command or option.

Usage

The command outputs a completion script similar to the one shown below.

important

Use the completion script that is output to your terminal or command window, as the script may differ depending on your operating environment.

Use the commands provided below to add the completion script to your shell configuration file, which is typically found in your home directory. Your shell configuration file may differ by platform. For example, on Ubuntu, you should have a .bashrc file, and on macOS, you might have bash_profile or .zshrc file. The source command causes the changes to take effect immediately in the current shell session.

Need help?

Join the Neon community forum to ask questions or see what others are doing with Neon. Neon Pro Plan users can open a support ticket from the console. For more detail, see Getting Support.

Last updated on

Edit this page
Was this page helpful?