PostList

2018년 8월 5일 일요일

Missing required argument: card


Problem:


cometnet-10-21-3-96:dist haanmo$ composer card export -n PeerAdmin@hlfv1 -f test.card
composer card export [options]

Export a business network card

Options:
  --help         Show help  [boolean]
  -v, --version  Show version number  [boolean]
  --file, -f     The card file name  [string]
  --card, -c     The name of the card to export  [string] [required]

Missing required argument: card

Solution:

change -n to -c

composer card export -c PeerAdmin@hlfv1 -f test.card
e.g.
cometnet-10-21-3-96:dist haanmo$ composer card export -c PeerAdmin@hlfv1 -f test.card

Successfully exported business network card
Card file: test.card
Card name: PeerAdmin@hlfv1

Command succeeded

댓글 없음:

댓글 쓰기