Skip to content

config

Description

Analyzes the environment to ensure all necessary tools and dependencies are available and functioning correctly. Provides subcommands for diagnosing issues and applying fixes, ensuring smooth execution of other commands.

Usage

bash
buildcli config [options] [subcommands]

Subcommands

OptionDescription
set, sSet configuration properties for BuildCLI.
clear, cClear config file
init, i, createInitializes a new configuration context for BuildCLI.
print, p, show,listPrints the current configuration.
remove, rm, rRemoves specified configuration properties from BuildCLI.

Options

OptionDescription
--global, -gRelease version to label the generated changelog (e.g., 1.2.3). If not specified, use the latest Git tag or 'Unreleased'.
--local, -lOutput format. Supported: markdown, html and json. (default: markdown)

Examples

Example 1

Set local configuration properties for BuildCLI.

bash
buildcli -l init

Example 2

Defines AI vendor as Ollama.

bash
buildcli -g set buildcli.ai.vendor=ollama

Example 3

Print BuildCLI configurations

bash
buildcli print

Example 4

Removes specified configuration properties from BuildCLI.

bash
buildcli remove set buildcli.ai.vendor=ollama

Example 5

Clear config file

bash
buildcli clear

See Also