Skip to content

docs(readme): replace invalid command examples with valid ones#4

Merged
phil-accelbyte merged 1 commit into
mainfrom
docs/readme-fix-invalid-commands
May 5, 2026
Merged

docs(readme): replace invalid command examples with valid ones#4
phil-accelbyte merged 1 commit into
mainfrom
docs/readme-fix-invalid-commands

Conversation

@phil-accelbyte

Copy link
Copy Markdown
Collaborator

Three sections of the README referenced commands that don't exist or use the wrong flag form:

Quick Start

  • iam users list -> iam users search (no list method on users)
  • --userId -> --user-id (kebab-case is the parser-recognised form)
  • describe iam users list -> describe iam users search

API scope/version examples

The previous examples used positional iam users get 123 (positional args aren't accepted) and iam users get only supports admin/v3 — so the --api-scope public and --api-version v2 lines would have errored at runtime. Switched to iam roles get --role-id my-role, which genuinely covers admin (v3, v4) and public (v3).

Exploring Commands

  • describe iam users list -> describe iam users search

Other examples in the README (auth, doctor, refresh-specs, profile, config, --help chains) verified valid against the current CLI surface.

The Quick Start, API scope/version, and Exploring Commands sections
referenced commands that don't exist or use the wrong flag form:

- 'iam users list' -> 'iam users search' (no list method on users)
- '--userId' -> '--user-id' (kebab-case is the parser-recognised form)
- 'iam users get 123' -> 'iam roles get --role-id my-role'
  (positional args aren't accepted, and iam users get only supports
  admin/v3 so the multi-scope/multi-version example never worked;
  iam roles get genuinely covers admin v3+v4 and public v3)
@phil-accelbyte
phil-accelbyte merged commit ed65653 into main May 5, 2026
5 checks passed
@phil-accelbyte
phil-accelbyte deleted the docs/readme-fix-invalid-commands branch May 5, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant