node info uses --ip instead of --rpc-url, inconsistent with other commands
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start at the node info command and compare its flag parsing with the global --rpc-url handling used by wallet, transfer, and subnet. Verify that --rpc-url works for node info, --ip remains compatible, and an IP-only value uses port 9650.
Written by the indexing model from the issue text.
Description
Problem
Every command uses --rpc-url for specifying a custom endpoint, but node info uses --ip:
platform node info --ip 127.0.0.1 # works
platform node info --rpc-url http://127.0.0.1:9650 # ignored, still requires --ip
This is confusing because --rpc-url is a global flag that works everywhere else (wallet, transfer, subnet, etc).
Suggested Fix
- Accept
--rpc-urlas the primary way to specify the node (extract host from URL) - Keep
--ipas an alias for backward compatibility - Default port to 9650 when only an IP is provided
Environment
- platform-cli v1.0.1
- Dominant language
- Go
- Stars
- 1
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ava-labs/platform-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ava-labs/platform-cli#35 ·
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
ava-labs/platform-cli#25 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 70/100
ava-labs/platform-cli#22 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ava-labs/platform-cli#12 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ava-labs/platform-cli#11 ·
All issues in ava-labs/platform-cli
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·