Thor cli api tool
Modules from roupi
api to make building cli programs easier (clone of Thor ruby gem) ALPHA VERSION
the projects files is just a test program showing how to use the lib, the lib itself is inside libs/thor.src

Capture d’écran du 2022-06-21 19-54-52.png 37 KB


for now it wont support sub commands and you can only register one command (only bare bones)

all defined options that are not passed will be set to null so you dont need to check if the key exists, same thing with args
if you fine a [-c, --capitalize] option, if any of the 2 are passed the 2 keys will be set to the same value, again so you dont need to manually check 
Files
Builds
thor-cli-api-tool_1.0.2
Download build

Post's comments

roupi supporter
dawd

You need to log in to write a comment.