Skip to content

Latest commit

 

History

History
92 lines (61 loc) · 3.89 KB

gdshell_command_db.md

File metadata and controls

92 lines (61 loc) · 3.89 KB

GDShellCommandDB

Properties

Dictionary _commands {}
Dictionary _aliases {}

Methods

bool add_command (String path)
void add_commands_in_directory (String path, bool recursive=true)
bool remove_command (String command_name)
String get_command_path (String command_name) const
Array get_all_command_names () const
bool add_alias (String alias, String command)
bool remove_alias (String alias)
Dictionary get_all_aliases () const
Array get_file_paths_in_directory (String path, bool recursive=true) static
Array get_command_file_paths_in_directory (String path, bool recursive=true) static
bool is_file_gdshell_command (String path) static
Dictionary get_command_name_and_autoaliases (String path) static

Property descriptions

Dictionary _commands

Dictionary _aliases


Method descriptions

bool add_command (String path)

void add_commands_in_directory (String path, bool recursive=true)

bool remove_command (String command_name)

String get_coget_command_pathmmand_path (String command_name) - const

Array get_all_command_names () - const

bool add_alias (String alias, String command)

bool remove_alias (String alias)

Dictionary get_all_aliases () - const

Array get_file_paths_in_directory (String path, bool recursive=true) - static

Array get_command_file_paths_in_directory (String path, bool recursive=true) - static

bool is_file_gdshell_command (String path) - static

Dictionary get_command_name_and_autoaliases (String path) - static