[#ArgsManager-GetCommand]
= xref:ArgsManager.adoc[ArgsManager]::GetCommand
:relfileprefix: ../
:mrdocs:

Get the command and command args (returns std&colon;&colon;nullopt if no command provided)

== Synopsis

Declared in `&lt;common&sol;args&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e381ac6e8)&rsqb;&rsqb;
std::optional&lt;Command const&gt;
GetCommand() const;
----

== Return Value

The parsed command and its args, or std&colon;&colon;nullopt if none was given&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
