MCPcopy Create free account
hub / github.com/pollinations/pollinations / parseApp

Function parseApp

tools/icons/src/cli.js:110–115  ·  view source on GitHub ↗
(argv)

Source from the content-addressed store, hash-verified

108];
109
110function parseApp(argv) {
111 const eq = argv.find((a) => a.startsWith("--app="));
112 if (eq) return eq.slice("--app=".length);
113 const i = argv.indexOf("--app");
114 return i >= 0 ? argv[i + 1] : undefined;
115}
116
117function manifestJson(cfg, brandColor, contrastColor) {
118 return {

Callers 1

cli.jsFile · 0.85

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected