Skip to content

chore: add missing "usage" to clarity-cli commands #6652

@federico-stacks

Description

@federico-stacks

In clarity cli not all commands have a usage string (only "check" command seems to have it)

"check" => {
if args.len() < 2 {
eprintln!(
"Usage: {} {} [program-file.clar] [--contract_id CONTRACT_ID] [--output_analysis] [--costs] [--testnet] [--clarity_version N] (vm-state.db)",
invoked_by, args[0]

the idea is to provide the "Usage: ..." string for all the commands.

Metadata

Metadata

Assignees

Labels

choreNecessary but less impactful tasks such as cleanup or reorglocked

Type

No type

Projects

Status

Status: ✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions