# Common Options
These options are supported by all CLI commands unless stated otherwise:
# Assume Yes
-y option to answer yes to all questions.
# AWS Profile
--profile <profile> option to choose which AWS profile to use.
# Display Help
--help option to display help. Command specific helps include also the minimum IAM permissions needed to run the command.
# Environment Variables
--env-file to load environment variables from a file. The loaded variables override existing variables with the same name. This option can be used multiple times.
The environment variables must be defined in a format accepted by dotenv, like so:
DB_HOST=localhost DB_USER=root DB_PASS=s1mpl3
# Load AWS SDK Config
--load-aws-sdk-config to prefer loading credentials from configuration file over the credentials file.
Passing this option will enable loading the profile from ~/.aws/config file.
# Log Confidential Information
By default, environment variables and confidential parameter values are concealed
from logs. Override this default by passing
# Logging Level
--log <level> option to choose the logging level.
Supported values are:
- info (default)
# Project Dir
--dir <directory> or
-d <directory> option to define the directory from where Takomo loads configuration.
--stats option to print statistics information of the executed command.
--var option to provide variables that can be used in Handlebars templates.
This option can be used multiple times.
Pass a single variable and store it to a variable with the given name.
Variables can be read from files and assigned to a variable. Contents of .yml and .json files are deserialized, and contents for other types of files are read to a string as is.
The variable name can be omitted for .yml and .json files as long as the file content can be deserialized to an object. The deserialized object is then stored to the top-level of variables.
Variables are merged recursively.
Variable from files are loaded first in the order they are defined, and then other variables also in the definition order.
--version to print version information.