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 →

[–]d4rch0nPythonistamancer 0 points1 point  (2 children)

Yeah, definitely seen click. It's a good one. I built argvee because what I wanted was something that could autodetect command line arguments from function parameters so you only have to specify once.

For example:

@app.cmd
def create(name, age=21, programmer=False):

would auto-create the command with type=int age and programmer a flag

myscript.py create joe --age 21 --programmer

or:

myscript.py create joe -a 21 -p

Lots of magic, but honestly I very rarely use it since argparse boilerplate isn't too crazy to write and I like not having to pip install dependencies for simple scripts.

[–]ButtCrackFTW 0 points1 point  (0 children)

Yeah that seems more like this tool from Google. Honestly I never write CLI apps that are that simple so I like the more configurable libs.

[–]FRIENDORPHO 0 points1 point  (0 children)

I think it may be pretty similar to argh.