Simplified zig build --help output

I agree that there is currently a ton of noise. So much noise, that I didn’t realize that half of this is already solved until about a week ago. There is zig build --list-steps (or zig build -l)

$ zig build --list-steps
  test                         Run ziglua tests
  install-example-interpreter  Install interpreter example
  run-example-interpreter      Run interpreter example
  install-example-zig-function Install zig-function example
  run-example-zig-function     Run zig-function example
  docs                         Build and install the documentation

It is missing the Project-Specific Options section though. This seems like a reasonable issue to open on GitHub. Not sure if the --list-steps should include the options output. Maybe a new flag? --info? --project-info? Not sure…

2 Likes