https://github.com/un4gt/flasky-cli
CLI to start Flask projects
https://github.com/un4gt/flasky-cli
Last synced: 3 months ago
JSON representation
CLI to start Flask projects
- Host: GitHub
- URL: https://github.com/un4gt/flasky-cli
- Owner: un4gt
- Created: 2024-03-31T13:10:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-24T21:09:53.000Z (10 months ago)
- Last Synced: 2025-03-15T12:46:13.389Z (4 months ago)
- Language: Python
- Size: 59.6 KB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask-CLI
From [Neoteroi/BlackSheep-CLI](https://github.com/Neoteroi/BlackSheep-CLI) .
🛠️ CLI to start [flask](https://github.com/pallets/flask) projects.
- Interactive project scaffolding
- Support for configuring more [`cookiecutter`](https://github.com/cookiecutter/cookiecutter) project templates```bash
pip install flasky-cli
```## Project templates
- [cookiecutter-flask](https://github.com/cookiecutter-flask/cookiecutter-flask)
- [cookiecutter-flask-minimal](https://github.com/candidtim/cookiecutter-flask-minimal)
- [cookiecutter-flask-skeleton](https://github.com/testdrivenio/cookiecutter-flask-skeleton)
- [cookiecutter-Flask-Foundation](https://github.com/JackStouffer/cookiecutter-Flask-Foundation)
- [Flask-API](https://github.com/un4gt/Flask-API)
- [Flask-MVC](https://github.com/un4gt/Flask-MVC)## Creating a new project
```bash
flask-cli create
```## Createing a new project with template name
```bash
flask-cli create --template
```## Listing the project templates
```bash
flask-cli templates list
```With details:
```bash
flask-cli templates details
```## Cli mode
By default, the rich mode is active .

### Deactivate rich mode
#### Windows
```commandline
set NO_RICH=1
```
or
```commandline
set NO_RICH=True
```#### Linux/macOS
```commandline
export NO_RICH=1
```
or
```commandline
export NO_RICH=True
```
reactivate rich mode use `NO_RICH=0` or `NO_RICH=False`
## Thanks
- [Neoteroi](https://github.com/Neoteroi)
- [cookiecutter-flask](https://github.com/cookiecutter-flask)
- [candidtim](https://github.com/candidtim)
- [testdrivenio](https://github.com/testdrivenio)
- [JackStouffer](https://github.com/JackStouffer)