This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3.6 | |
import inspect | |
def cli_prompt_decorator(func): | |
f_spec = inspect.getfullargspec(func) | |
def wrapper(*args): | |
arg_list = list(args) | |
if not len(arg_list) >= len(f_spec.args): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am aranchelk on github. | |
* I am aranchelk (https://keybase.io/aranchelk) on keybase. | |
* I have a public key whose fingerprint is 1317 C3C3 5395 5A17 1039 D4A0 CE32 6E01 7D94 055B | |
To claim this, I am signing this object: |