Expand description
The Nifty command-line tool, nf.
Modulesยง
- build ๐
nf build: check the app, compile it to machine code, and package it as a native app for an operating system.- check ๐
nf check: report errors without running anything.- create ๐
nf create <name>: start a new app from the starter template.- dev ๐
nf dev: run the app and reload it in place every time one of its source files is saved. State the new version still declares with the same name and type keeps its value.- error ๐
- frontend ๐
- Reading a project and turning it into a checked program, shared by every command.
- lsp ๐
nf lsp: the language server editors start to check and navigate nifty code.- project ๐
- What a command operates on: a project folder with a
main.nf, or a single.nffile. - report ๐
- Renders diagnostics as annotated source snippets on stderr.
- run ๐
nf run: check the app, then run it with native windows.
Constantsยง
- EXIT_
HAS_ ๐ERRORS - The program has errors, found while checking it or while it ran.
- EXIT_
USAGE ๐ - USAGE ๐
Functionsยง
Type Aliasesยง
- Command
Result ๐ - Result of a command: the exit code to return, or an error that stopped it.