Commands: information

These commands tell you what you have. They do not compile, test, or publish. Start here when a command surprises you: histos help lists every command, and histos help <command> prints one.

histos.cli.Help.entries
val entries: List[Entry] = List(
    Entry(
      "version",
      "info",
      "histos version",
      "Print the toolchain this command runs and, with a server up, that server's version.",
    ),
    Entry("help", "info", "histos help [command]", "List commands, or show one command."),
    Entry(
      "completion",
      "info",
      "histos completion [install] [zsh|bash]",
      "Print the completion script for this shell. zsh or bash names the shell. install writes it under ~/.histos/completions and prints the rc line. Project, module, and plugin names are offered only while a server is already listening.",
    ),
    Entry("--explain", "info", "histos --explain <check-id>", "Print one check."),
    Entry(

…

version

histos version prints the toolchain this command is running. If a background server is already up, it also prints that server's version, so you can see when the terminal and the warm process have drifted apart.

help

histos help lists the commands in groups. histos help <command> prints one command, including its flags.

graph

histos graph prints every module, the platforms it builds, and the Scala versions. Use it when you want to see what histos.scala became, before you compile.

observe

histos observe prints the compile tally Histos has stored: what ran, and what was reused.

completion

histos completion prints a completion script for zsh or bash. histos completion install writes it under ~/.histos/completions and prints the line to add to your shell startup file. Histos does not edit that file for you.

--explain

histos doctor reports checks by id. histos --explain <check-id> prints one check in full, so you can read why it failed without rerunning the whole doctor.

--color

Color follows the terminal unless you say otherwise. --color forces it on and --no-color forces it off. --truecolor sends 24-bit color. --no-truecolor stays in the 256-color cube. When you pass both of a pair, the last one wins. These flags sit in front of any other command.

--verbose

--verbose adds detail to the command after it. On histos compile it prints each compiler phase. On histos doctor it lists every check, not only the ones that failed.