diff --git a/src/content/docs/guides/syntax.md b/src/content/docs/guides/syntax.md index 7ad352b..19ef4a9 100644 --- a/src/content/docs/guides/syntax.md +++ b/src/content/docs/guides/syntax.md @@ -175,7 +175,7 @@ group { ## Run The `run` keyword is used to evaluate the following expression and include the resulting command in the output. ```shulkerscript -run "say Hello, world!" +run "say Hello, world!"; ``` :::tip diff --git a/src/content/docs/reference/cli.md b/src/content/docs/reference/cli.md index 6049dfb..4b70ed2 100644 --- a/src/content/docs/reference/cli.md +++ b/src/content/docs/reference/cli.md @@ -1,8 +1,6 @@ --- title: Command-line interface reference description: Reference for the ShulkerScript command-line tool -sidebar: - label: CLI --- The ShulkerScript CLI is a command-line tool for managing ShulkerScript projects. @@ -21,6 +19,8 @@ Options: - `--name`: The name of the project. Defaults to the name of the directory. - `--description`: The description of the project. - `--pack-format`: The format of the pack. Defaults to `26`. +- `--icon`: The path to the icon file. Leave empty for default icon. +- `--batch`: Do not prompt for input, use default values instead if possible or fail. - `--vcs`: The version control system to use. Defaults to `git`. ## build @@ -33,6 +33,7 @@ shulkerscript build [OPTIONS] [PATH] Options: - `--assets ` The path to the assets directory [default: `./assets`] - `--output ` The output directory, overrides the `DATAPACK_DIR` environment variable +- `--no-validate` Skip validation of the pack format - `--zip` Package the output into a zip file Environment variables: