hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 1 | nfdc |
| 2 | ==== |
| 3 | |
Junxiao Shi | 15902ef | 2017-08-11 22:58:35 +0000 | [diff] [blame] | 4 | SYNOPSIS |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 5 | -------- |
Davide Pesavento | e0bae0f | 2018-02-17 22:07:52 -0500 | [diff] [blame] | 6 | | nfdc COMMAND [ARGUMENTS] ... |
| 7 | | nfdc help [COMMAND] |
| 8 | | nfdc [-h|--help] |
| 9 | | nfdc -V|--version |
Alexander Afanasyev | c414ca5 | 2021-06-09 12:15:19 -0400 | [diff] [blame] | 10 | | nfdc -f|--batch BATCH-FILE |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 11 | |
Junxiao Shi | 15902ef | 2017-08-11 22:58:35 +0000 | [diff] [blame] | 12 | DESCRIPTION |
| 13 | ----------- |
| 14 | **nfdc** is a tool to manage a running instance of NFD. |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 15 | |
Junxiao Shi | 15902ef | 2017-08-11 22:58:35 +0000 | [diff] [blame] | 16 | Features of nfdc are organized into subcommands. |
| 17 | To print a list of all subcommands, run **nfdc** without arguments. |
| 18 | To show how to use a subcommand, run **nfdc help** followed by the subcommand name. |
| 19 | |
| 20 | OPTIONS |
| 21 | ------- |
| 22 | <COMMAND> |
| 23 | A subcommand name. |
| 24 | It usually contains a noun and a verb. |
| 25 | |
| 26 | <ARGUMENTS> |
| 27 | Arguments to the subcommand. |
| 28 | |
Davide Pesavento | e0bae0f | 2018-02-17 22:07:52 -0500 | [diff] [blame] | 29 | ``-h`` or ``--help`` |
| 30 | Print a list of available subcommands and exit. |
Junxiao Shi | 15902ef | 2017-08-11 22:58:35 +0000 | [diff] [blame] | 31 | |
Davide Pesavento | e0bae0f | 2018-02-17 22:07:52 -0500 | [diff] [blame] | 32 | ``-V`` or ``--version`` |
| 33 | Show version information and exit. |
Junxiao Shi | 15902ef | 2017-08-11 22:58:35 +0000 | [diff] [blame] | 34 | |
Alexander Afanasyev | c414ca5 | 2021-06-09 12:15:19 -0400 | [diff] [blame] | 35 | ``-f BATCH-FILE`` or ``--batch BATCH-FILE`` |
| 36 | Process arguments specified in the ``BATCH-FILE`` as if they would have appeared |
| 37 | in the command line (but without ``nfdc``). When necessary, arguments should be |
| 38 | escaped using backslash ``\``, single ``'``, or double quotes ``"``. If any of |
| 39 | the command fails, the processing will be stopped at that command with error |
| 40 | code 2. Empty lines and lines that start with ``#`` character will be ignored. |
| 41 | Note that the batch file does not support empty string arguments |
| 42 | (``""`` or ``''``), even if they are supported by the regular command line ``nfdc``. |
| 43 | |
| 44 | When running a sequence of commands in rapid succession from a script, this |
| 45 | option ensures that the commands are properly timestamped and can therefore |
| 46 | be accepted by NFD. |
| 47 | |
Junxiao Shi | 15902ef | 2017-08-11 22:58:35 +0000 | [diff] [blame] | 48 | EXAMPLES |
| 49 | -------- |
Junxiao Shi | 0e13e1e | 2018-01-22 08:29:12 +0000 | [diff] [blame] | 50 | nfdc |
| 51 | List all subcommands. |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 52 | |
Junxiao Shi | 0e13e1e | 2018-01-22 08:29:12 +0000 | [diff] [blame] | 53 | nfdc help face create |
| 54 | Show how to use the ``nfdc face create`` subcommand. |
Junxiao Shi | 15902ef | 2017-08-11 22:58:35 +0000 | [diff] [blame] | 55 | |
| 56 | SEE ALSO |
| 57 | -------- |
Junxiao Shi | 3160a3f | 2018-01-09 21:25:15 +0000 | [diff] [blame] | 58 | nfdc-status(1), nfdc-face(1), nfdc-route(1), nfdc-cs(1), nfdc-strategy(1) |