forked from mvanhorn/printing-press-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdogfood-results.json
More file actions
92 lines (92 loc) · 6.98 KB
/
Copy pathdogfood-results.json
File metadata and controls
92 lines (92 loc) · 6.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"dir": "/Users/kieran/printing-press/library/defillama",
"binary": "/Users/kieran/printing-press/library/defillama/build/stage/bin/defillama-pp-cli",
"level": "quick",
"verdict": "PASS",
"matrix_size": 5,
"passed": 5,
"failed": 0,
"skipped": 3,
"commands": [
"analytics",
"api"
],
"tests": [
{
"command": "analytics",
"kind": "help",
"args": [
"analytics",
"--help"
],
"status": "pass",
"output_sample": "Analyze locally synced data with count, group-by, and summary operations.\nData must be synced first with the sync command.\n\nUsage:\n defillama-pp-cli analytics [flags]\n\nExamples:\n # Count records by type\n defillama-pp-cli analytics --type messages\n\n # Group by a field\n defillama-pp-cli analytics --type messages --group-by author_id\n\n # Top 10 most frequent values\n defillama-pp-cli analytics --type messages --group-by channel_id --limit 10 --json\n\nFlags:\n --db string Database path\n --group-by string Field to group by\n -h, --help help for analytics\n --limit int Max groups to show (default 25)\n --type string Resource type to analyze\n\nGlobal Flags:\n --agent Set all agent-friendly defaults (--json --compact --no-input --no-color --yes)\n --compact Return only key fields (id, name, status, timestamps) for minimal token usage\n --config string Config file path\n --csv Output as CSV (table and array responses)\n --data-source string Data source for read commands: auto (live with local fallback), live (API only), local (synced data only) (default \"auto\")\n --deliver string Route output to a sink: stdout (default), file:\u003cpath\u003e, webhook:\u003curl\u003e\n --dry-run Show request without sending\n --human-friendly Enable colored output and rich formatting\n --idempotent Treat already-existing create results as a successful no-op\n --json Output as JSON\n --max-age duration Maximum acceptable age of local-store data before a stderr hint suggests sync; 0 disables (default 30m0s)\n --no-cache Bypass response cache\n --no-color Disable colored output\n --no-input Disable all interactive prompts (for CI/agents)\n --plain Output as plain tab-separated text\n --profile string Apply values from a saved profile (see 'defillama-pp-cli profile list')\n --quiet Bare output, one value per line\n --rate-limit float Max requests per second (0 to disable)\n --select string Comma-separated fields to include in output (e.g. --select id,name,status)\n --timeout duration Request timeout (default 1m0s)\n --yes Skip confirmation prompts (for agents and scripts)\n"
},
{
"command": "analytics",
"kind": "happy_path",
"args": [
"analytics",
"--type",
"messages"
],
"status": "pass",
"output_sample": "messages: 0 records\nhint: local store has not been synced yet. Run 'defillama-pp-cli sync' before trusting local results.\n"
},
{
"command": "analytics",
"kind": "json_fidelity",
"args": [
"analytics",
"--type",
"messages",
"--json"
],
"status": "pass",
"output_sample": "{\n \"count\": 0,\n \"resource_type\": \"messages\"\n}\nhint: local store has not been synced yet. Run 'defillama-pp-cli sync' before trusting local results.\n"
},
{
"command": "analytics",
"kind": "error_path",
"args": null,
"status": "skip",
"reason": "no positional argument"
},
{
"command": "api",
"kind": "help",
"args": [
"api",
"--help"
],
"status": "pass",
"output_sample": "Browse and call any API endpoint using the raw interface names.\n\nThe friendly top-level commands cover the most common operations.\nThis command provides access to ALL endpoints for power users and\nagents that need full API coverage.\n\nRun 'api' with no arguments to list all interfaces.\nRun 'api \u003cinterface\u003e' to see that interface's methods.\n\nUsage:\n defillama-pp-cli api [interface] [flags]\n\nExamples:\n # List all available interfaces\n defillama-pp-cli api\n\n # Show methods for a specific interface\n defillama-pp-cli api \u003cinterface-name\u003e\n\nFlags:\n -h, --help help for api\n\nGlobal Flags:\n --agent Set all agent-friendly defaults (--json --compact --no-input --no-color --yes)\n --compact Return only key fields (id, name, status, timestamps) for minimal token usage\n --config string Config file path\n --csv Output as CSV (table and array responses)\n --data-source string Data source for read commands: auto (live with local fallback), live (API only), local (synced data only) (default \"auto\")\n --deliver string Route output to a sink: stdout (default), file:\u003cpath\u003e, webhook:\u003curl\u003e\n --dry-run Show request without sending\n --human-friendly Enable colored output and rich formatting\n --idempotent Treat already-existing create results as a successful no-op\n --json Output as JSON\n --max-age duration Maximum acceptable age of local-store data before a stderr hint suggests sync; 0 disables (default 30m0s)\n --no-cache Bypass response cache\n --no-color Disable colored output\n --no-input Disable all interactive prompts (for CI/agents)\n --plain Output as plain tab-separated text\n --profile string Apply values from a saved profile (see 'defillama-pp-cli profile list')\n --quiet Bare output, one value per line\n --rate-limit float Max requests per second (0 to disable)\n --select string Comma-separated fields to include in output (e.g. --select id,name,status)\n --timeout duration Request timeout (default 1m0s)\n --yes Skip confirmation prompts (for agents and scripts)\n"
},
{
"command": "api",
"kind": "happy_path",
"args": null,
"status": "skip",
"reason": "command path [api] has fewer segments than placeholders (1)"
},
{
"command": "api",
"kind": "json_fidelity",
"args": null,
"status": "skip",
"reason": "command path [api] has fewer segments than placeholders (1)"
},
{
"command": "api",
"kind": "error_path",
"args": [
"api",
"__printing_press_invalid__"
],
"status": "pass",
"exit_code": 1,
"output_sample": "Error: interface \"__printing_press_invalid__\" not found. Run 'defillama-pp-cli api' to list all interfaces\n"
}
],
"ran_at": "2026-05-26T21:16:49.969025Z"
}