--maintenance
Triggers Setup hooks configured with the maintenance matcher prior to starting a print mode session.
Syntax
--maintenanceExample
Terminal
claude -p --maintenance "query"Progress will not be saved. This browser is blocking storage (often private browsing). You can still learn, but closing the tab loses your progress.
--maintenanceTriggers Setup hooks configured with the maintenance matcher prior to starting a print mode session.
--maintenanceclaude -p --maintenance "query"