CLI commands and flags

--init

Triggers init Setup hooks prior to starting the session in print mode.

Syntax

--init

Example

Terminal
claude -p --init "query"

Type to search the reference, templates and lessons.