3 Command Formatting

This section discusses the basic formatting of commands in NDICmd and the optional switches that may be applied to commands.

Command Blocks

Commands are formatted as follows.

NDICmd [Switches] [CommandBlock]

In addition, commands may be executed in succession. This allows for complex commands, such as temporarily modifying the current Global State for an individual command or complex queries and installations. To execute commands in succession, use the THEN keyword between commands.

NDICmd [Switches] [CommandBlock] THEN [CommandBlock]
Switches

To enable or disable specific additional functionality, the following switches may be added to commands in NDICmd.

  • /h - Entry point to the help content. Alternatively, try NDICmd Help. Alternate usages: -Help, -h, -?, --help
  • /u - Allows the installation of packages that are incompatible with the development environment. Alternate usages: -Unsafe, -u, --unsafe
  • /a - Automatically accepts EULA/License terms before installing packages. Alternate usages: -AutoAcceptTerms, -a, --acceptTerms
  • /udl - Gives precedent to those packages with a locale matching DataLocale in the GlobalAppState file for NDI. This is not a filter. Alternate usages: -UseDataLocale, -udl, --useDataLocale
  • /udl:off - Uses the default selection criteria (the latest version of the software is chosen first).
  • /cj - Changes the formatting of the output to use compact JSON. Alternate usages: -CompactJson, -cj
  • /cj:off - Changes the formatting of the output to use plain text.
  • /j - Changes the formatting of the output to use formatted (indented) JSON. Alternate usages: -Json, -j
  • /j:off - Changes the formatting of the output to use plain text.
  • /i - Enables NDICmd to activate an interactive password input feature for server-based authentication. Alternate usages: -Interactive, -i
  • /i:off - Leaves NDICmd in non-interactive mode. For more information, try NDICmd Help AboutInteractiveMode.
  • /gs - Injects LoadGS %LocalAppData%\Nintendo\NDI\NDICmdGS.json then before all other command input.
  • /q - Only displays the results of the command, no additional information. Alternate usages: -Quiet, -q
  • /q:off - Displays the default output for the Output type that is selected.

 


CONFIDENTIAL