MCPcopy Create free account
hub / github.com/alpha-liu-01/SpeedyNote / commandName

Function commandName

source/cli/CliParser.cpp:82–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82QString commandName(Command cmd)
83{
84 switch (cmd) {
85 case Command::ExportPdf: return QStringLiteral("export-pdf");
86 case Command::ExportSnbx: return QStringLiteral("export-snbx");
87 case Command::Import: return QStringLiteral("import");
88 case Command::Help: return QStringLiteral("help");
89 case Command::Version: return QStringLiteral("version");
90 default: return QString();
91 }
92}
93
94// =============================================================================
95// Parser Setup

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected