You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the basic case of Python argparse-based help menus, it would be useful if cod could also learn the description of the flag (or at least the first line of it).
Compare the following (from the Pwntools repo):
asm --help
usage: pwn asm [-h] [-f {raw,hex,string,elf}] [-o file] [-c context]
[-v AVOID] [-n] [-z] [-d] [-e ENCODER] [-i INFILE] [-r]
[line [line ...]]
positional arguments:
line Lines to assemble. If none are supplied, use stdin
optional arguments:
...
-n, --newline Encode the shellcode to avoid newlines
Tab completion only shows the flags themselves, and not the helpful descriptive text:
For the basic case of Python
argparse
-based help menus, it would be useful ifcod
could also learn the description of the flag (or at least the first line of it).Compare the following (from the Pwntools repo):
Tab completion only shows the flags themselves, and not the helpful descriptive text:
The learned autocomplete should show something similar to what is provided with the default Git completion:
Such that it might look like this:
The text was updated successfully, but these errors were encountered: