MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / IsCliMode

Function IsCliMode

src/common/cli.cpp:890–892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

888// ── CLI entry point ─────────────────────────────────────────────────────
889
890bool IsCliMode(int argc, char** argv) {
891 return argc >= 2 && strcmp(argv[1], "--cli") == 0;
892}
893
894static void PrintUsage() {
895 fprintf(stderr, "Usage: cloud_redirect --cli <command> [args...]\n");

Callers 1

CloudRedirect_CliMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected