Skip to content

Phase 6: singular alias forms (nsc ls device) #6

@thomaschristory

Description

@thomaschristory

Phase 5 spec §1.2 — deferred to Phase 6+.

Singular alias forms. nsc ls device (plural-only is the v1 stance).

Scope

  • Curated singular aliases for the most common resources: device, prefix, tenant, vlan, site, rack, interface, cable, tag. Each maps to its plural form (devices, prefixes, ...).
  • The bundled SKILL.md is updated to mention "singular forms also work" — currently §"What NOT to do" pins plural-only.

Why deferred from v1

v1 picks plural-only as the canonical form to keep the dynamic command tree predictable. Singular aliases are ergonomic sugar that's easier to add than to remove (we'd be promising to keep them stable).

Acceptance

  • nsc ls device works identically to nsc ls devices for all curated singular forms.
  • An alias-not-found error suggests the plural form (Did you mean 'devices'?) for resources outside the curated singular list.
  • SKILL.md updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions