[Bug]: --env help and README advertise only paseo-v2 of three environments

Open Beginner friendly
#296 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
cli, documentation

Research direction

Start with packages/cli/src/cli/program.ts:22 and packages/cli/src/cli/commands/authOptions.ts:7, then check the environment table in packages/cli/README.md. Compare the documented choices with the three environments and aliases wired by the CLI. Done means --help and the README consistently describe all supported environments.

Written by the indexing model from the issue text.

Description

dotns-sdk good first issue P3 type: bug
Component

Other

Priority

P3

What happened?

--help documents the environment option as --env <environment> DotNS environment: paseo-v2, but three environments are wired: paseo-v2, previewnet, devnet (plus aliases). Same stale string in the README's env table.

Where

packages/cli/src/cli/program.ts:22, packages/cli/src/cli/commands/authOptions.ts:7, packages/cli/README.md env table.

Dominant language
Solidity
Stars
4
Forks
2
Avg merge
1d 18h
Merged PRs (30d)
24

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from paritytech/dotns

All issues in paritytech/dotns

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.