Skip to content

Cannot create channel using hlf channel generate command #222

@OptimusPrimo11

Description

@OptimusPrimo11

What happened?

I try to create a channel with the hlf channel generate --outpu flag but it seems that an error of : unknown flag: --output appear. Then by switching the order of the flags to --name first, still it shows error : unknown flag: --name.

Next, I run the kubectl hlf channel --help
Output : Usage:
hlf channel [command]

Available Commands:
inspect
top
update

Flags:
-h, --help help for channel

So, not "generate" exist.

What am I missing here? Please help.

What did you expect to happen?

A channel file with the filename specified in the --output flag which contains the 2 OrgMSP & 1 OrdererMSP in the channel name given in the --name flag.

How can we reproduce it (as minimally and precisely as possible)?

kubectl hlf channel generate --output=testchannel.block --name=testchannel --organizations Org1MSP --organizations Org2MSP --ordererOrganizations OrdererMSP

Anything else we need to know?

No response

Kubernetes version

Details
# kubectl get nodes -o wide

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions