|
12 | 12 | Poetry version must be greater or equal than 1.1.8. Otherwise it won't be able to install SQLAlchemy. |
13 | 13 |
|
14 | 14 | <div align="center"> |
15 | | - <img src="https://user-images.githubusercontent.com/18153319/137182689-ce714440-7576-46a0-8f96-862a8469a28c.gif"/> |
| 15 | + <a href="https://asciinema.org/a/ig0oi0fOq1hxqnW5X49XaaHIT" target="_blank"><img src="https://asciinema.org/a/ig0oi0fOq1hxqnW5X49XaaHIT.svg" /></a> |
16 | 16 | <p>Templator in action</p> |
17 | 17 | </div> |
18 | 18 |
|
@@ -73,43 +73,31 @@ This project can handle arguments passed through command line. |
73 | 73 | ```shell |
74 | 74 | $ python -m fastapi_template --help |
75 | 75 |
|
76 | | -usage: FastAPI template [-h] [--version] [--name PROJECT_NAME] |
77 | | - [--description PROJECT_DESCRIPTION] |
78 | | - [--api-type {rest,graphql}] |
79 | | - [--db {none,sqlite,mysql,postgresql}] |
80 | | - [--orm {ormar,sqlalchemy,tortoise,psycopg,piccolo}] |
81 | | - [--ci {none,gitlab_ci,github}] [--redis] [--rabbit] |
82 | | - [--migrations] [--kube] [--dummy] [--routers] |
83 | | - [--swagger] [--prometheus] [--sentry] [--loguru] |
84 | | - [--opentelemetry] [--traefik] [--force] [--quite] |
85 | | - |
86 | | -optional arguments: |
87 | | - -h, --help show this help message and exit |
88 | | - --version, -V Prints current version |
89 | | - --name PROJECT_NAME Name of your awesome project |
90 | | - --description PROJECT_DESCRIPTION |
91 | | - Project description |
92 | | - --api-type {rest,graphql} |
93 | | - API type |
94 | | - --db {none,sqlite,mysql,postgresql} |
95 | | - Database |
96 | | - --orm {ormar,sqlalchemy,tortoise,psycopg,piccolo} |
97 | | - ORM |
98 | | - --ci {none,gitlab_ci,github} |
99 | | - Choose CI support |
100 | | - --redis Add Redis support |
101 | | - --rabbit Add RabbitMQ support |
102 | | - --migrations Add migrations support |
103 | | - --kube Add Kubernetes configs |
104 | | - --dummy, --dummy-model |
105 | | - Add dummy model |
106 | | - --routers Add example routers |
107 | | - --swagger Enable self-hosted Swagger |
108 | | - --prometheus Add prometheus integration |
109 | | - --sentry Add sentry integration |
110 | | - --loguru Add loguru logger |
111 | | - --opentelemetry Add opentelemetry integration |
112 | | - --traefik Adds traefik labels to docker container |
113 | | - --force Owerrite directory if it exists |
114 | | - --quite Do not ask for features during generation |
| 76 | +Usage: fastapi_template [OPTIONS] |
| 77 | + |
| 78 | +Options: |
| 79 | + -n, --name TEXT Name of your awesome project |
| 80 | + -V, --version Prints current version |
| 81 | + --force Owerrite directory if it exists |
| 82 | + --quite Do not ask for features during generation |
| 83 | + --api-type [rest|graphql] Select API type for your application |
| 84 | + --db [none|sqlite|mysql|postgresql] |
| 85 | + Select a database for your app |
| 86 | + --orm [none|ormar|sqlalchemy|tortoise|psycopg|piccolo] |
| 87 | + Choose Object–Relational Mapper lib |
| 88 | + --ci [none|gitlab_ci|github] Select a CI for your app |
| 89 | + --redis Add redis support |
| 90 | + --rabbit Add RabbitMQ support |
| 91 | + --migrations Add Migrations |
| 92 | + --kube Add kubernetes configs |
| 93 | + --dummy Add dummy model |
| 94 | + --routers Add example routers |
| 95 | + --swagger Add self hosted swagger |
| 96 | + --prometheus Add prometheus compatible metrics |
| 97 | + --sentry Add sentry integration |
| 98 | + --loguru Add loguru logger |
| 99 | + --opentelemetry Add opentelemetry integration |
| 100 | + --traefik Adds traefik labels to docker container |
| 101 | + --kafka Add Kafka support |
| 102 | + --help Show this message and exit. |
115 | 103 | ``` |
0 commit comments