Skip to main content
Skip to main content

b init

Creates a new .bin/b.yaml configuration file in the current directory. Environment variables have precedence over the configuration file.

Usage​

b init [flags]

Examples​

Create default config​

This command creates a new b.yaml in the .bin directory of your current location.

# Create new b.yaml in current directory
b init

Create with custom path​

You can specify a custom path for the configuration file using the --config global flag.

# Create with custom path
b init --config ./custom/b.yaml

Flags​

FlagDescription
-h, --helphelp for init

Global Flags​

FlagDescription
-c, --config stringPath to configuration file (current: /home/fentas/github/fentas/b/.bin/b.yaml)
--forceForce operations, overwriting existing binaries
-q, --quietQuiet mode
-v, --versionPrint version information and quit
Was this section helpful?