CLI
On this page
Nittos cli has quite some commands:
nitto build(orb): builds all or only the given targets. Use--rebuild(-r) to rebuild everything.nitto conf: manage project configuration; see here.nitto uconf: manage user configuration; see here.nitto run: run any given target; add--debug(-d) to start a debug session.nitto show: show data about your project; see below.nitto generate(orgen): generate some usefull files; see belownitto version: print version information about nittonitto package(orpack): interact with nittos package management system; see here.
Show project data
With nitto show you can show many different things about your project:
deps: print a simple dependency tree.targets: list all targets (use-jfor json).result: lists all result files any given target will produce (use-jfor json).triplets: show a full list of triplets available (use-jfor json).
Note: all commands with -j also support the long-hand form of --json!
Generating utilitiy files
With nitto generate, nitto supports a wide range of utility files you can benefit from:
compile_commands_json: generates acompile_commands.jsonlike clang or vscode uses. With--path(-p) you can specify the exact location to put the file in; if not specified, it tries to find.vscodein the current working directory and places it inside if it exists; else it just places it into the current directory.