Add --cog-path CLI argument (#6510)

This commit is contained in:
cswimr
2026-01-05 16:31:10 -06:00
committed by GitHub
parent dd3b9a01d3
commit fec1818e5a
3 changed files with 57 additions and 17 deletions

View File

@@ -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",