mirror of
https://github.com/bellingcat/octosuite.git
synced 2026-06-12 13:28:35 +03:00
Update helper.py
This commit is contained in:
@@ -153,22 +153,27 @@ class Help:
|
||||
|
||||
|
||||
def helpCommand():
|
||||
help_cmd_table = Table(show_header=True, header_style=header_title)
|
||||
help_cmd_table.add_column("Command", style="dim")
|
||||
help_cmd_table.add_column("Description")
|
||||
help_cmd_table.add_row("help", "Help menu")
|
||||
help_cmd_table.add_row("exit", "Close session")
|
||||
help_cmd_table.add_row("clear", "Clear screen")
|
||||
help_cmd_table.add_row("about", "Program's info")
|
||||
help_cmd_table.add_row("author", "Developer's info")
|
||||
help_cmd_table.add_row("csv", "List all csv management commands")
|
||||
help_cmd_table.add_row("logs", "List all logs management commands")
|
||||
help_cmd_table.add_row("org", "List all organization investigation commands")
|
||||
help_cmd_table.add_row("user", "List all users investigation commands")
|
||||
help_cmd_table.add_row("repo", "List all repository investigation commands")
|
||||
help_cmd_table.add_row("search", "List all target discovery commands")
|
||||
help_cmd_table.add_row("source", "List all source code download commands (for developers)")
|
||||
core_cmd_table = Table(show_header=True, header_style=header_title)
|
||||
core_cmd_table.add_column("Command", style="dim", width=12)
|
||||
core_cmd_table.add_column("Description")
|
||||
core_cmd_table.add_row("help", "Help menu")
|
||||
core_cmd_table.add_row("exit", "Close session")
|
||||
core_cmd_table.add_row("clear", "Clear screen")
|
||||
core_cmd_table.add_row("about", "Program's info")
|
||||
core_cmd_table.add_row("author", "Developer's info")
|
||||
|
||||
help_sub_cmd_table = Table(show_header=True, header_style=header_title)
|
||||
help_sub_cmd_table.add_column("Command", style="dim", width=12)
|
||||
help_sub_cmd_table.add_column("Description")
|
||||
help_sub_cmd_table.add_row("csv", "List all csv management commands")
|
||||
help_sub_cmd_table.add_row("logs", "List all logs management commands")
|
||||
help_sub_cmd_table.add_row("org", "List all organization investigation commands")
|
||||
help_sub_cmd_table.add_row("user", "List all users investigation commands")
|
||||
help_sub_cmd_table.add_row("repo", "List all repository investigation commands")
|
||||
help_sub_cmd_table.add_row("search", "List all target discovery commands")
|
||||
help_sub_cmd_table.add_row("source", "List all source code download commands (for developers)")
|
||||
|
||||
syntax = f"{green}help:<command>{reset}"
|
||||
xprint(f"{Help.usageText.format(syntax, 'octosuite')}")
|
||||
xprint(help_cmd_table)
|
||||
xprint(core_cmd_table)
|
||||
xprint(f"\n\n{Help.usageText.format(syntax, 'octosuite')}")
|
||||
xprint(help_sub_cmd_table)
|
||||
|
||||
Reference in New Issue
Block a user