find_commands
Given a path to a management directory, return a list of all the command names that are available.
def find_commands(
management_dir: string
) - > list
Given a path to a management directory, return a list of all the command names that are available.
Parameters
| Name | Type | Description |
|---|---|---|
| management_dir | string | The file system path to the Django-style management directory containing a 'commands' subdirectory. |
Returns
| Type | Description |
|---|---|
list | A list of strings representing the names of available command modules found within the directory. |