[#ArgsManager-GetCommand] = xref:ArgsManager.adoc[ArgsManager]::GetCommand :relfileprefix: ../ :mrdocs: Get the command and command args (returns std::nullopt if no command provided) == Synopsis Declared in `<common/args.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e381ac6e8)]] std::optional<Command const> GetCommand() const; ---- == Return Value The parsed command and its args, or std::nullopt if none was given. [.small]#Created with https://www.mrdocs.com[MrDocs]#