Skip to content

Commit 58eef2a

Browse files
Merge pull request #412 from paritytech/fix/contract-help-text
fix(contract): clarify command help text
2 parents a984410 + 31f55f5 commit 58eef2a

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.changeset/contract-help-text.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"playground-cli": patch
3+
---
4+
5+
Clarify the `contract` command help: replace the opaque "Run CDM contract workflows" description with "Install and deploy smart contract libraries for your app" and add a `<command> [options]` usage hint so its subcommands are discoverable from `playground --help`.

src/commands/contract.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,7 @@ function makeInstallCommand(): Command {
742742
}
743743

744744
export const contractCommand = new Command("contract")
745-
.description("Run CDM contract workflows")
745+
.description("Install and deploy smart contract libraries for your app")
746+
.usage("<command> [options]")
746747
.addCommand(makeDeployCommand())
747748
.addCommand(makeInstallCommand());

0 commit comments

Comments
 (0)