fix: support ft-client help and ft-client show commands
This commit is contained in:
@@ -82,7 +82,7 @@ def print_commands():
|
|||||||
|
|
||||||
|
|
||||||
def main_exec(parsed: dict[str, Any]):
|
def main_exec(parsed: dict[str, Any]):
|
||||||
if parsed.get("show"):
|
if parsed.get("show") or parsed.get("command") in ("show", "help"):
|
||||||
print_commands()
|
print_commands()
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user