Feature Development
These are the commands you use every day while you work on a feature, for git, tests, frontend assets, translations and the scaffold files.
| Command | What it does |
|---|---|
feature:pull |
Runs git pull on one or every editable feature |
feature:git |
Runs any git command in a feature’s folder |
feature:rename |
Renames a feature and updates the products that use it |
feature:compile |
Builds a feature’s JavaScript and CSS |
feature:npm |
Runs npm in a feature’s frontend/ |
feature:frontend:init |
Gives a feature a frontend/ of its own |
feature:test |
Runs the tests of one or every feature |
feature:env |
Shows or creates a feature’s docker/.env |
feature:pip-install |
Installs the declared features from PyPI, or from their git tag |
feature:translate |
Extracts, starts or compiles a feature’s translations |
feature:drift |
Shows which scaffold files differ from the current templates |
feature:sync-template |
Brings those scaffold files up to date |
feature:security |
Lists the SQL and XSS sinks the toolchain refuses |
feature:status --integritychecks that links, installed packages and migrations match the manifest. Add--fixto correct what it finds.