toejough / pimento

simple CLI menu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

using the CLI, if you don't pass a post-prompt, the tool stacktraces

toejough opened this issue · comments

pimento 1 2 3
Traceback (most recent call last):
  File "/usr/local/bin/pimento", line 9, in <module>
    load_entry_point('pimento==0.3.0', 'console_scripts', 'pimento')()
  File "/Users/joe/Projects/pimento/pimento/__init__.py", line 186, in _cli
    result = menu(args.pre, options, args.post, args.default_index, args.indexed)
  File "/Users/joe/Projects/pimento/pimento/__init__.py", line 222, in menu
    _check_prompts(pre_prompt, post_prompt)
  File "/Users/joe/Projects/pimento/pimento/__init__.py", line 103, in _check_prompts
    raise TypeError("The post_prompt was given and was not a string!")
TypeError: The post_prompt was given and was not a string!