Skip to main content
Global flags can be used with any command in the Nile CLI. They provide consistent functionality across all commands and help customize the CLI’s behavior.

Authentication Flags

Flags for authenticating with Nile’s services.
Authentication Examples

Output Format Flags

Customize how command output is displayed.
Format Examples

Host Configuration Flags

Configure connection endpoints for Nile services.
Host Configuration

Debug Flag

Enable detailed output for troubleshooting.
Debug Examples

Environment Variables

All global flags can also be set using environment variables:
Environment Variables

Flag Precedence

When the same setting is specified in multiple ways, the following precedence order is used (highest to lowest):
  1. Command line flags
  2. Environment variables
  3. Configuration file values
  4. Default values
Precedence Examples