Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

ks generate prototype --help should be a thing #120

@jbeda

Description

@jbeda

Right now I do:
ks generate deployment-exposed-with-service --help I get:

ERROR Command is missing argument 'componentName'

Usage:
  ks generate <prototype-name> <component-name> [type] [parameter-flags] [flags]

Flags:
      --containerPort string   Container port for service to target. (default "80")
  -h, --help                   help for generate
      --image string           Container image to deploy
      --name string            Name of the service and deployment
      --replicas string        Number of replicas (default "1")
      --servicePort string     Port for the service to expose. (default "80")
      --type string            Type of service to expose (default "ClusterIP")

Global Flags:
  -v, --verbose count[=-1]   Increase verbosity. May be given multiple times.

This isn't bad as I do get help, but the error up top isn't great. This should just give me the help.

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