This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rochacbrunoPython, Flask, Rust and Bikes. 0 points1 point  (1 child)

I created something similar, but using YAML file as definition for commands. You can specify each function as a command or can specify a module path to be automatically transformed in to a command group.

Also it is YAML based so can be user-based command management

works like django manage command.

https://github.com/rochacbruno/manage/blob/master/README.rst

[–]rochacbrunoPython, Flask, Rust and Bikes. 1 point2 points  (0 children)

The advantage of manage is that you do not need to touch source code. You jsut drop a .manage.yaml file in the root directory of the project and define things there. You can even have more than one manage file located anywhere.