Skip to content

Commit

Permalink
Add init subcommand to CLI reference
Browse files Browse the repository at this point in the history
Signed-off-by: Jarno Elovirta <[email protected]>
  • Loading branch information
jelovirt committed Nov 30, 2024
1 parent f0c749c commit 93b91fb
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions parameters/dita-command-arguments.dita
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,23 @@
<var>file</var>
</groupseq>
</fragment>
<fragment>
<groupseq>
<kwd>dita</kwd>
<kwd>init</kwd>
<groupchoice>
<var>template</var>
</groupchoice>
<groupchoice importance="optional">
<kwd>--output</kwd>
<oper>=</oper>
<var>dir</var>
</groupchoice>
<groupcomp importance="optional">
<var>options</var>
</groupcomp>
</groupseq>
</fragment>
<fragment>
<groupseq>
<kwd>dita</kwd>
Expand Down Expand Up @@ -178,6 +195,7 @@
<indexterm><parmname>--help</parmname></indexterm>
<indexterm><parmname>-h</parmname></indexterm>
<indexterm><cmdname>version</cmdname> subcommand</indexterm>
<indexterm><cmdname>init</cmdname> subcommand</indexterm>
<indexterm><parmname>--version</parmname>
<index-see><cmdname>version</cmdname> subcommand</index-see></indexterm>
<parml>
Expand All @@ -187,6 +205,22 @@
<varname>file</varname></pt>
<pd>Show a list of the available deliverables in the specified project <varname>file</varname>.</pd>
</plentry>
<plentry>
<pt>
<parmname>init</parmname>
<varname>template</varname>
</pt>
<pd>Initialize project. If <parmname>--output</parmname> parameter is not used to define output directory,
the project is generated into current directory.</pd>
</plentry>
<plentry>
<pt>
<parmname>init</parmname>
<parmname>--list</parmname>
</pt>
<pd>Show a list of the available project templates.</pd>
<pd>The entries in this list may be passed as argument to the <parmname>init</parmname> subcommand.</pd>
</plentry>
<plentry>
<pt>
<parmname>install</parmname>
Expand Down

0 comments on commit 93b91fb

Please sign in to comment.