python-fire
python-fire copied to clipboard
how to hide SELF parameter from the help message?
I use fire as suggested by "Version 4: fire.Fire(
When I run "mycmd search --help" I get a nice help text but I'd like to remove the not useful/internal parameter SELF If it my fault or a bug?
Thanks in advance
NAME
mycmd search - Search objects
SYNOPSIS
mycmd search SELF <flags>
DESCRIPTION
filter: is a query string like (samaccountname=matteo)
POSITIONAL ARGUMENTS
SELF
FLAGS
--filter=FILTER
@matteoredaelli would you be able to post a snippet or link the file that lead to this output?
Sure.
https://gitlab.com/matteoredaelli/ad/-/blob/ab1a08ebf397753693213b39048411d35c45caf9/ad.py
Thanks Matteo