Commands Reference
bnv init
Usage
bnv init [--path PATH|-p PATH] [--force|-f]
Description
Create a .better-env
file in the current (or specified) directory and link it to your global store.
Flags
--path, -p
(default.
): directory to place.better-env
--force, -f
: overwrite an existing.better-env
Examples
# Create .better-env in the current directory
bnv init
# Create in a specific directory
bnv init --path ./services/api
# Overwrite if one already exists
bnv init -f