Kumaraswamy
Kumaraswamy

Reputation: 11

Hyperledger fabric composer delete card error

I'm trying to deleting admin card using composer card delete -n test@hlfv1 this command in my local environment. But I'm getting following error.

Missing required argument: card

Error screenshot

Composer cli version is v0.19.0.

OS is Ubuntu

Any suggestions on this issue will be appreciated.

Upvotes: 0

Views: 489

Answers (2)

R Thatcher
R Thatcher

Reputation: 5570

There was a change in the command in v0.19.0 to bring more consistency to the CLI. So -n was replaced with -c.

The changes were described in the release notes for v0.19.0.

Upvotes: 0

mohammadjh
mohammadjh

Reputation: 722

The command you are using is not correct. Try this one

composer card delete --card test@hlfv1

For more composer cli command check here.

Upvotes: 2

Related Questions