mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2026-01-20 07:03:00 -05:00
Add --cog-path CLI argument (#6510)
This commit is contained in:
@@ -219,6 +219,15 @@ def parse_cli_flags(args):
|
||||
action="extend",
|
||||
help="Force unloading specified cogs.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--cog-path",
|
||||
type=str,
|
||||
default=[],
|
||||
nargs="+",
|
||||
action="extend",
|
||||
help="Add a specific path to the list of cog paths. "
|
||||
"This can be used multiple times to add multiple paths.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--dry-run",
|
||||
action="store_true",
|
||||
|
||||
Reference in New Issue
Block a user