Skip to main content

_nifectl config_

About

The CONFIG commands allow developers to manage, view, validate, and save application configurations directly using Nifectl. This ensures consistency, accuracy, and simplified control across your cloud deployments.

Usage

nifectl config [command] [flags]

Available Commands

  • display – Display an App's configuration
  • save – Save an App's configuration file
  • validate – Validate an App's configuration file

Options

  -a, --app string      App name to operate on
-c, --config string Path to an app config file or directory containing one (default "./nife.toml")
-h, --help help for config

Global Options

  -t, --access-token string   Nife API Access Token
-j, --json JSON output

nifectl config display

About

Display an application's configuration retrieved from the Nife service. The configuration is presented in JSON format for easy readability and integration.

Usage

nifectl config display [flags]

Options

  -a, --app string      App name to operate on
-c, --config string Path to an app config file or directory containing one (default "./nife.toml")
-h, --help help for display

Global Options

  -t, --access-token string   Nife API Access Token
-j, --json JSON output

nifectl config save

About

Save an application's configuration locally. The configuration is fetched from the Nife service and stored in TOML format, allowing offline access and editing.

Usage

nifectl config save [flags]

Options

  -a, --app string      App name to operate on
-c, --config string Path to an app config file or directory containing one (default "./nife.toml")
-h, --help help for save

Global Options

  -t, --access-token string   Nife API Access Token
-j, --json JSON output

nifectl config validate

About

Validate an application's configuration file against the Nife platform to ensure it meets all required standards and is meaningful for deployment.

Usage

nifectl config validate [flags]

Options

  -c, --config string   Path to an app config file or directory containing one (default "./nife.toml")
-h, --help help for validate

Global Options

  -t, --access-token string   Nife API Access Token
-j, --json JSON output

Summary

The Nifectl config command provides a unified interface for managing application configurations within the Nife ecosystem. From validation to saving and displaying, it empowers developers to maintain consistency, accuracy, and efficiency across environments.