Management commands
This page provides a reference for all the available management commands and their options.
clearsessions
Usage: marten clearsessions [options]
Clears all expired sessions for the configured session store.
Please refer to Sessions to learn more about sessions.
Options
--no-input- Does not show prompts to the user
Examples
marten clearsessions # Clears all expired sessions
marten clearsessions --no-input # Clears all expired sessions without any prompts
collectassets
Usage: marten collectassets [options]
Collects all the assets and copies them into a unique storage.
Please refer to Asset handling to learn more about when and how assets are "collected".
Options
--no-input- Does not show prompts to the user
Examples
marten collectassets # Collects all the assets
marten collectassets --no-input # Collects all the assets without any prompts
gen
Usage: marten gen [options] [generator] [arguments]
Generate various structures, abstractions, and values within an existing project.