Replies: 1 comment
-
Try using [tool.taskipy.tasks]
custom-command-1 = "echo 'I am the 1st custom comman'" poetry run task custom-command-1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
I expect this project helps do all CLI stuff like what manage.py in Django does, so here is my feature request for officially supporting custom commands in FastAPI project instead of using own click or typer file to do so.
From my imagination, we will have a place to put our custom commands to run any scripts in shell.
Let me complete the imagination with some example.
Let's say we have a configuration file like
package.json
:And we can use the following shortcuts in our project:
This allows us to extend and manage customized commands in one place.
Operating System
macOS
Operating System Details
macOS Sonoma 14.1.1
Python Version
3.12.1
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions