SHL-69 - Remove docs for "version" command that is not available
This commit is contained in:
@@ -113,7 +113,17 @@ public class HelloWorldCommands implements CommandMarker {
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para><classname>EssentialCommands</classname> -
|
||||
<para><classname>ConsoleCommands</classname> -
|
||||
<literal>clr</literal> and <literal>clear</literal> - to clear the console.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><classname>DateCommands</classname> -
|
||||
<literal>date</literal> - show the current date and time.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><classname>ExitCommands</classname> -
|
||||
<literal>exit</literal> and <literal>quit</literal> - to exit the
|
||||
shell.</para>
|
||||
</listitem>
|
||||
@@ -123,36 +133,36 @@ public class HelloWorldCommands implements CommandMarker {
|
||||
list all commands and their usage</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><classname>InlineCommentCommands</classname> - <literal>//</literal> and <literal>;</literal> shows the valid characters to use for inline comments</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><classname>OsCommands</classname> - the keyword for this command
|
||||
is the exclamation point, <literal>!</literal>. After the exclamation
|
||||
point you can pass in a unix/windows command string to be
|
||||
executed.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><classname>SystemPropertyCommands</classname> - <literal>system properties</literal>- shows the shell's system properties</para>
|
||||
</listitem>
|
||||
|
||||
</itemizedlist>
|
||||
|
||||
<para>There are also a few commands that are provided by the
|
||||
<classname>AbstractShell</classname> class, these are</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para><literal>date</literal> - Displays the local date and
|
||||
time</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>script</literal> - Parses the specified resource file
|
||||
and executes its commands</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>system properties</literal> - Shows the shell's
|
||||
properties</para>
|
||||
<para><literal>/*</literal> and <literal>*/</literal>- The begin and end characters for block comments</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>version</literal> - Displays current CLI version</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -19,6 +19,10 @@ import org.springframework.shell.core.CommandMarker;
|
||||
import org.springframework.shell.core.annotation.CliCommand;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* Commands relating to inline comments
|
||||
*
|
||||
*/
|
||||
@Component
|
||||
public class InlineCommentCommands implements CommandMarker {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user