Package Exports
- sandstone-cli
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sandstone-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
sandstone-cli
The CLI for Sandstone - the data pack creation library.
Usage
$ npm install -g sandstone-cli
$ sand COMMAND
running command...
$ sand (-v|--version|version)
sandstone-cli/0.1.3 win32-x64 node-v14.15.0
$ sand --help [COMMAND]
USAGE
$ sand COMMAND
...Commands
sand build
USAGE
$ sand build
OPTIONS
-d, --dry Do not save the datapack. Mostly useful with `verbose`.
-h, --help show CLI help
-v, --verbose Log all resulting resources: functions, advancements...
--description=description Description of the data pack. Override the value specified in the configuration file.
--formatVersion=formatVersion Pack format version. Override the value specified in the configuration file.
--minecraftPath=minecraftPath Path of the .minecraft folder. Override the value specified in the configuration file.
--name=name Name of the data pack. Override the value specified in the configuration file.
--namespace=namespace The default namespace. Override the value specified in the configuration file.
--path=path The path to save the data pack at. Override the value specified in the configuration
file.
--root Save the data pack in the `.minecraft/datapacks` folder. Override the value specified
in the configuration file.
--world=world The world to save the data pack in. Override the value specified in the configuration
file.
EXAMPLES
$ sand build
$ sand build --verbose
$ sand build --verbose --drySee code: src/commands/build.ts
sand create PROJECT-NAME
USAGE
$ sand create PROJECT-NAME
ARGUMENTS
PROJECT-NAME Name of the project folder. This is not the name of the data pack.
OPTIONS
-d, --datapack-name=datapack-name The name of the data pack.
-h, --help show CLI help
-n, --namespace=namespace The default namespace that will be used.
-p, --custom-path=custom-path The path to save the data pack at. Not compatible with --save-root and --world.
-r, --save-root Save the data pack in the .minecraft/datapacks folder. Not compatible with --world
and --custom-path.
-w, --world=world The world to save the data pack in. Not compatible with --save-root and
--custom-path.
--npm Use npm.
--yarn Use yarn instead of npm.
EXAMPLE
$ sand create my-datapackSee code: src/commands/create.ts
sand help [COMMAND]
USAGE
$ sand help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLISee code: @oclif/plugin-help
sand watch
USAGE
$ sand watch
OPTIONS
-d, --dry Do not save the datapack. Mostly useful with `verbose`.
-h, --help show CLI help
-v, --verbose Log all resulting resources: functions, advancements...
--description=description Description of the data pack. Override the value specified in the configuration file.
--formatVersion=formatVersion Pack format version. Override the value specified in the configuration file.
--minecraftPath=minecraftPath Path of the .minecraft folder. Override the value specified in the configuration file.
--name=name Name of the data pack. Override the value specified in the configuration file.
--namespace=namespace The default namespace. Override the value specified in the configuration file.
--path=path The path to save the data pack at. Override the value specified in the configuration
file.
--root Save the data pack in the `.minecraft/datapacks` folder. Override the value specified
in the configuration file.
--world=world The world to save the data pack in. Override the value specified in the configuration
file.
EXAMPLES
$ sand watch
$ sand watch --verbose
$ sand watch --verbose --drySee code: src/commands/watch.ts