Skip to content

[BUG] 'contract' command description opaque ('CDM') + subcommands invisible #270

@ottovlotto

Description

@ottovlotto

Severity: UX friction (P2)
Reported by: DevEx Audit External
Source: DevEx Audit (External), 3 June 2026

Symptom

UX: contract description is opaque; subcommands invisible
Severity: UX friction
Location: src/commands/contract.ts — command description and .usage() call

Actual --help listing:
contract Run CDM contract workflows

Two issues:

  1. "CDM" means nothing to Summit attendees - should be plain English
  2. No <command> hint - users can't tell contract takes subcommands (deploy, install) without running playground help contract

Fix:

.description("Install and deploy smart contract libraries for your app")
.usage("<command> [options]")

Reproduction

playground --help

Observe contract Run CDM contract workflows line.

Recommended fix / next steps

Per auditor's fix in src/commands/contract.ts:

.description("Install and deploy smart contract libraries for your app")
.usage("<command> [options]")

This (1) drops the unexplained "CDM" acronym and (2) signals that contract takes subcommands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions