defaults list

The defaults list command prints all system-wide Stacktape defaults configured on your machine. Stacktape uses these defaults as fallback values for commands that accept the corresponding arguments, so you don't need to pass common flags like --region or --stage each time.

Usage

stacktape defaults list

This command takes no arguments. It reads stored defaults and prints each configured key-value pair. If no defaults are set, it suggests running defaults set.

Command reference

stacktape defaults listCLI options
-h, --helpstring

Show Help

If provided, the command will not execute and will instead print help information.

--log-level"info" | "debug" | "error"

Log Level

The level of logs to print to the console.

  • info: Basic information about the operation.
  • error: Only errors.
  • debug: Detailed information for debugging.
--quietboolean

Quiet

Hide progress, banners, success messages and hints. Command output, warnings and errors are still printed.

What gets displayed

The output shows all defaults you've previously set with defaults set. Configurable defaults include:

  • region — AWS region used for deployments
  • stage — default stage name
  • awsProfile — AWS credentials profile
  • projectName — default project name
  • awsAccount — AWS account identifier

defaults list also prints other stored defaults, such as default executables for resolving Node.js directives, when configured.

Each default appears as a key: value pair. Stacktape uses these values as fallback arguments for commands that accept the corresponding options.

This command does not require a Stacktape API key. You can run it without being logged in.
  • defaults set — set or update system-wide defaults
  • whoami — verify your current user, organization, and connected accounts
  • login — configure your Stacktape API key