blob: 1e77830fee1ee1bc9a44688c081dd56a386f175c [file] [log] [blame]
hilata6ee6e072014-04-20 17:10:18 -05001nfdc
2====
3
Junxiao Shi15902ef2017-08-11 22:58:35 +00004SYNOPSIS
hilata6ee6e072014-04-20 17:10:18 -05005--------
Davide Pesaventoe0bae0f2018-02-17 22:07:52 -05006| nfdc COMMAND [ARGUMENTS] ...
7| nfdc help [COMMAND]
8| nfdc [-h|--help]
9| nfdc -V|--version
Alexander Afanasyevc414ca52021-06-09 12:15:19 -040010| nfdc -f|--batch BATCH-FILE
hilata6ee6e072014-04-20 17:10:18 -050011
Junxiao Shi15902ef2017-08-11 22:58:35 +000012DESCRIPTION
13-----------
14**nfdc** is a tool to manage a running instance of NFD.
hilata6ee6e072014-04-20 17:10:18 -050015
Junxiao Shi15902ef2017-08-11 22:58:35 +000016Features of nfdc are organized into subcommands.
17To print a list of all subcommands, run **nfdc** without arguments.
18To show how to use a subcommand, run **nfdc help** followed by the subcommand name.
19
20OPTIONS
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 Pesaventoe0bae0f2018-02-17 22:07:52 -050029``-h`` or ``--help``
30 Print a list of available subcommands and exit.
Junxiao Shi15902ef2017-08-11 22:58:35 +000031
Davide Pesaventoe0bae0f2018-02-17 22:07:52 -050032``-V`` or ``--version``
33 Show version information and exit.
Junxiao Shi15902ef2017-08-11 22:58:35 +000034
Alexander Afanasyevc414ca52021-06-09 12:15:19 -040035``-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 Shi15902ef2017-08-11 22:58:35 +000048EXAMPLES
49--------
Junxiao Shi0e13e1e2018-01-22 08:29:12 +000050nfdc
51 List all subcommands.
hilata6ee6e072014-04-20 17:10:18 -050052
Junxiao Shi0e13e1e2018-01-22 08:29:12 +000053nfdc help face create
54 Show how to use the ``nfdc face create`` subcommand.
Junxiao Shi15902ef2017-08-11 22:58:35 +000055
56SEE ALSO
57--------
Junxiao Shi3160a3f2018-01-09 21:25:15 +000058nfdc-status(1), nfdc-face(1), nfdc-route(1), nfdc-cs(1), nfdc-strategy(1)