Rename plug:build to plug:compile

pull/109/head
Zef Hemel 2022-10-25 18:49:33 +02:00
parent a2e5d0cc93
commit f04f429c29
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
#!/bin/sh
deno run -A --unstable silverbullet.ts plug:build $@ --dist dist_bundle/_plug plugs/*/*.plug.yaml
deno run -A --unstable silverbullet.ts plug:compile $@ --dist dist_bundle/_plug plugs/*/*.plug.yaml

View File

@ -26,7 +26,7 @@ await new Command()
.arguments("<folder:string>")
.action(fixCommand)
// plug:bundle
.command("plug:build", "Bundle (compile) one or more plug manifests")
.command("plug:compile", "Bundle (compile) one or more plug manifests")
.arguments("<...name.plug.yaml:string>")
.option("--debug", "Do not minifiy code", { default: false })
.option("--info", "Print out size info per function", { default: false })

View File

@ -35,7 +35,7 @@ release.
- `silverbullet upgrade` to perform a self upgrade
- `silverbullet fix` to attempt to solve any issues with your space (deletes
your `_plug` directory and `data.db` file)
- `silverbullet plug:build` replaces the old `plugos-bundle` command.
- `silverbullet plug:compile` replaces the old `plugos-bundle` command.
- `silverbullet version` prints the current version
---