The CLIΒΆ
The falco CLI is included with the package installation. It provides a set of commands that I hope will be useful to you throughout the lifecycle of your project, from project setup to deployment.
Note
If you encounter any issues or unexpected behavior with the CLI, please report it on GitHub.
The entrypoint for the CLI is the falco
command. It is used to execute all other subcommands.
Most of these commands rely on the presence of the manage.py
file, so ensure that you run them from the root directory of your Django project.
Additionally, these commands require acces to your virtual environment, so make sure to activate it before executing any command.
Usage: falco {start-project,update-project,start-app,crud,htmx,htmx-ext,work,sync-dotenv,rm-migrations,reset-migrations} [-h] [--completion COMPLETION]
Enhance your Django developer experience: CLI and Guides for the Modern Django Developer.
Subcommands
start-project Initialize a new django project the falco way.
update-project Update your project with changes from falco.
start-app Initialize a new django app the falco way.
crud Generate CRUD (Create, Read, Update, Delete) views for a model.
htmx Download the latest version (if no version is specified) of htmx.
htmx-ext Download one of htmx extensions.
work Run your whole django projects in one command.
sync-dotenv Synchronize the .env file with the .env.template file.