sysand print-root#

Prints the root directory of the current project

Usage#

sysand print-root [OPTIONS]

Description#

Tries to find the current project by starting in the current directory and then iteratively going up the parent directories until a project directory is found.

A project directory is considered to be any directory containing either a .project.json or a .meta.json file.

If no project directory is found, the command fails with invalid directory: not inside a project.

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