sysand init#

Create new project in current directory

Usage#

sysand init [OPTIONS] [PATH]

Description#

Create new project in current directory, i.e. create .project.json and .meta.json files.

Arguments#

  • [PATH]: The path to use for the project. The project is created at this path (the directory is created if it does not exist). Defaults to current directory

Options#

  • --name <NAME>: The name of the project. Defaults to the directory name

  • --publisher <PUBLISHER>: The publisher of the project. Defaults to untitled

  • --version <VERSION>: Set the version in SemVer 2.0 format. Defaults to 0.0.1

  • --no-semver: Don’t require version to conform to SemVer. Requires --version

  • --license <LICENSE>: Set the license in the form of an SPDX license identifier. Defaults to omitting the license field

  • --no-spdx: Don’t require license to be an SPDX expression. Requires --license

Errors#

Init aborts if the version is not a valid SemVer 2.0 version (without --no-semver) or if the license is not a valid SPDX expression (without --no-spdx).

Global options#

  • -v, --verbose: Use verbose output

  • -q, --quiet: Do not output log messages

  • --no-config: Disable discovery of configuration files [env: SYSAND_NO_CONFIG]

  • --config-file <CONFIG_FILE>: Give path to sysand.toml to use for configuration [env: SYSAND_CONFIG_FILE]

  • -h, --help: Print help