Skip to content

TODO

The Minimal CLI

Usage: minimal [OPTIONS] <COMMAND>

Commands:
  build        Runs the build task. Shorthand for `minimal run build`
  test         Runs the test task. Shorthand for `minimal run test`
  run          Runs a task specified in `minimal.toml`
  update       Refreshes local checkouts of upstream packages & the standard library
  materialize  Materializes an output specified in `minimal.toml`
  pkg          Builds the specified package(s) in a clean room, making them available in the local cache
  check        Validates and formats nickel build-spec files
  completions  Generate shell completion script
  help         Print this message or the help of the given subcommand(s)

Options:
  -C, --repo-dir <REPO_DIR>
          Use the given directory as the repository root, instead of searching from the current working directory
      --minimal-dir <MINIMAL_DIR>
          Override the base directory used for operations (default: ~/.cache/minimal)
      --stdlib-dir <STDLIB_DIR>
          Load the minimal standard library from the given path instead
      --no-cache
          Ignore locally-available binary artifacts (results in rebuilds unless present in a remote cache)
      --no-fetch
          Do not fetch binary artifacts from the internet
  -n, --num-parallel-builds <NUM_PARALLEL_BUILDS>
          Configure the number of parallel builds
  -h, --help
          Print help
  -V, --version
          Print version