install: Document file: prefix in cli help

This commit is contained in:
Reto Brunner 2022-07-23 16:27:56 +02:00
parent c8cd4057bc
commit 31739b8ac9

View File

@ -16,7 +16,10 @@ type CustomMetadata = FullMetadata & {
const program = new Command("install"); const program = new Command("install");
program program
.argument("<package>", "package to install") .argument(
"<package>",
"package to install. Use `file:$path_to_package_dir` to install a local package"
)
.description("Install a theme or a package") .description("Install a theme or a package")
.on("--help", Utils.extraHelp) .on("--help", Utils.extraHelp)
.action(async function (packageName: string) { .action(async function (packageName: string) {