Commands

Updated for version 1.2.5

bricks is a command-line interface (CLI) library designed for DevOps and Platform teams to manage Infrastructure as Code (IaC) at scale. This application is owned and created by Bluebricks Ltd., with all rights reserved.

Usage

bricks [flags]

bricks [command]

Available Commands

You can get instant help anytime by typing --help as a flag for any command or sub-command. i.e. bricks --help and bricks bprint --help.

Blueprint

Use bprint command to create, modify, and publish blueprints. Learn more at Blueprints (bprint)

Blueprint management

Usage:
  bricks bprint [flags]
  bricks bprint [command]

Aliases:
  bprint, blueprint, bp

Available Commands:
  add          Adding remote blueprint to local blueprint
  add-repo     Adding github repository url to local blueprint
  bump         Bump blueprint version
  create       Create new IaC module for an exiting blueprint
  describe     Printout the bricks.json of the provided blueprint
  enable       Enable blueprint
  fetch        Download binaries of a blueprint
  get          List the configuration of the provided blueprint
  init         Create new empty blueprint
  prepare      Prepare Infrastructure-as-Code files
  publish      Publishing a new blueprint
  remove       Removing blueprint
  search       Conduct a blueprint search
  state-config Retrieve remote Terraform/OpenTofu state backend config
  status       Provide installation info on a blueprint
  update       Update blueprint
  view         View blueprint versions

Global Flags:
      --config string     config file (default is $HOME/.bricks/config.yaml)
  -h, --help              Print Help message for Bricks CLI
      --non-interactive   Suppresses interactive UI elements for non-interactive environments
  -v, --version           Print bricks CLI version

Use "bricks bprint [command] --help" for more information about a command.

Clouds

Use clouds command to list the associated cloud vendors with your Bluebricks account.

Environments

Use env command to manage Bluebricks environments.

Install

Use install command to plan and apply Blueprints.

Uninstall

Destroy a blueprint from a selected environment

Logging Management

Use logger command to manage logging behavior. Learn more about bricks logging here.

Telemetry

Use telemtry command to manage CLI analytics and usage tracking Learn more about Bluebricks CLI telemetry here.

Versioning

Use version command to get the runtime version

Setup

User setup command to connect cloud vendor to an environment

Identity Management

Use login, logout, and whoami to manage your CLI identity.

Login

Logout

Whoami

Last updated

Was this helpful?