@@ -8,6 +8,9 @@ A command-line interface for interacting with the Dune Analytics API.
88# Save your API key to ~/.config/dune/config.yaml
99dune auth --api-key < key>
1010
11+ # Or run interactively (prompts for key)
12+ dune auth
13+
1114# Or set via environment variable
1215export DUNE_API_KEY=< key>
1316```
@@ -26,16 +29,16 @@ Manage and execute Dune queries.
2629| ` query get <query-id> ` | Get a saved query's details and SQL |
2730| ` query update <query-id> [--name] [--sql] [--description] [--private] [--tags] ` | Update an existing query |
2831| ` query archive <query-id> ` | Archive a saved query |
29- | ` query run <query-id> [--param key=value] [--performance medium\|large] [--limit] [--no-wait] ` | Execute a saved query and display results |
30- | ` query run-sql --sql <sql> [--param key=value] [--performance medium\|large] [--limit] [--no-wait] ` | Execute raw SQL directly |
32+ | ` query run <query-id> [--param key=value] [--performance medium\|large] [--limit] [--timeout] [-- no-wait] ` | Execute a saved query and display results |
33+ | ` query run-sql --sql <sql> [--param key=value] [--performance medium\|large] [--limit] [--timeout] [-- no-wait] ` | Execute raw SQL directly |
3134
3235### ` dune execution `
3336
3437Manage query executions.
3538
3639| Command | Description |
3740| ---------| -------------|
38- | ` execution results <execution-id> [--limit] [--offset] ` | Fetch results of a query execution |
41+ | ` execution results <execution-id> [--limit] [--offset] [--timeout] [--no-wait] ` | Fetch results of a query execution |
3942
4043### ` dune dataset `
4144
@@ -44,6 +47,7 @@ Search the Dune dataset catalog.
4447| Command | Description |
4548| ---------| -------------|
4649| ` dataset search [--query] [--categories] [--blockchains] [--schemas] [--dataset-types] [--owner-scope] [--include-private] [--include-schema] [--include-metadata] [--limit] [--offset] ` | Search for datasets |
50+ | ` dataset search-by-contract --contract-address <address> [--blockchains] [--include-schema] [--limit] [--offset] ` | Search for decoded tables by contract address |
4751
4852Categories: ` canonical ` , ` decoded ` , ` spell ` , ` community `
4953
@@ -65,4 +69,4 @@ dune usage [--start-date YYYY-MM-DD] [--end-date YYYY-MM-DD]
6569
6670## Output Format
6771
68- Most commands support ` -o, --output <format> ` with ` text ` (default) or ` json ` .
72+ All commands (except ` auth ` ) support ` -o, --output <format> ` with ` text ` (default) or ` json ` .
0 commit comments