-% NITX(1)
-
# NAME
-Displays specific pieces of API information from Nit source files.
+nitx - displays specific pieces of API information from Nit source files.
-# SYNOPSYS
+# SYNOPSIS
-nitx [*options*]...
+nitx [*options*] FILE [COMMAND]
-# OPTIONS
+# DESCRIPTION
+
+`nitx` in an interactive tool that displays informations about programs and libraries.
-`-W`, `--warn`
-: Show more warnings
+A command that query some information can be given as parameter.
+This will immediately displays the information then terminates the programs.
-`-w`, `--warning`
-: Show/hide a specific warning
+If no command are given, the program starts an interactive session where commands are entered until `:q` is given.
-`-q`, `--quiet`
-: Do not show warnings
+# COMMANDS
-`--stop-on-first-error`
-: Stop on first error
+### `name`
+lookup module, class and property with the corresponding 'name'.
-`--no-color`
-: Do not use color to display errors and warnings
+### `param: Type`
+lookup methods using the corresponding 'Type' as parameter.
-`--log`
-: Generate various log files
+### `return: Type`
+lookup methods returning the corresponding 'Type'.
-`--log-dir`
-: Directory where to generate log files
+### `new: Type`
+lookup methods creating new instances of 'Type'.
-`-h`, `-?`, `--help`
-: Show Help (This screen)
+### `call: Property`
+lookup calls to 'Property'.
-`--version`
-: Show version and exit
+### `doc: name`
+lookup documentation pages about 'name'.
-`--set-dummy-tool`
-: Set toolname and version to DUMMY. Useful for testing
+### `code: name`
+lookup source code related to 'name'.
-`-v`, `--verbose`
-: Verbose
+### `:h`
+display an help message about the commands.
-`--bash-completion`
-: Generate bash_completion file for this program
+### `:q`
+exit the tool.
+
+# OPTIONS
-`--stub-man`
-: Generate a stub manpage in pandoc markdown format
+### `-c`, `--command`
+Nitx command to perform.
-`--disable-phase`
-: DEBUG: Disable a specific phase; use `list` to get the list.
+Execute a command, display results in the console, then quit.
-`-I`, `--path`
-: Set include path for loaders (may be used more than once)
+### `--no-attributes`
+Ignore the attributes.
-`--only-parse`
-: Only proceed to parse step of loaders
+### `--private`
+Also generate private API.
-`--only-metamodel`
-: Stop after meta-model processing
+### `--catalog`
+Use catalog.
-`--ignore-visibility`
-: Do not check, and produce errors, on visibility issues.
+Allow queries to catalog data (can be long on large code base).
# SEE ALSO