v2.0.1
This commit is contained in:
15
test.py
15
test.py
@@ -11,19 +11,8 @@ def new_folder(name):
|
||||
|
||||
|
||||
def test_helper():
|
||||
# c = CliHelper(right_padding=20, draw_menu_again=False)
|
||||
# n = c.add_option(title="New")
|
||||
# c.add_option(title="Open File", exec_func=open_file)
|
||||
# c.add_option(title="Save")
|
||||
# c.add_exit_option()
|
||||
#
|
||||
# c.add_return_option(n)
|
||||
# c.add_option(n, "New File")
|
||||
# c.add_option(n, "New Folder", new_folder, ("Temp",))
|
||||
# c.add_exit_option(n)
|
||||
#
|
||||
# c.start_loop()
|
||||
ch = CliHelper()
|
||||
ch = CliHelper({"right_padding": 20, "serial_marker": "->"})
|
||||
# ch = CliHelper()
|
||||
n = ch.add_option("New")
|
||||
n.add_return_option()
|
||||
n.add_option("New File")
|
||||
|
||||
Reference in New Issue
Block a user