pier_
Reference

pier config

pier.yaml lifecycle: init, sync, diff, validate

pier config <command>

pier.yaml lifecycle: init, sync, diff, validate.

Subcommands

pier config init

pier config init [flags]

Create a new project and write its pier.yaml.

FlagValueDefaultDescription
-o, --outputpier.yamlOutput file path
--nameSTRINGProject name for the new project (default: directory name). Required non-interactively — creating a server project should never be a silent side effect in CI.

pier config validate

pier config validate [<file>]

Validate pier.yaml syntax and references.

ArgumentRequiredDescription
<file>noPath to pier.yaml (default: auto-detect)

pier config diff

pier config diff [<file>]

Show differences between pier.yaml and platform state.

ArgumentRequiredDescription
<file>noPath to pier.yaml (default: auto-detect)

pier config sync

pier config sync [<file>] [flags]

Pull server state into pier.yaml (adopt an existing project, or update an existing file).

ArgumentRequiredDescription
<file>noPath to pier.yaml (default: auto-detect)
FlagValueDefaultDescription
-y, --yesSkip confirmation prompt

Global flags apply to every command.

On this page