Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerwelin committed Feb 10, 2020
1 parent 2134195 commit 6831cb2
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ func (e EnumValue) String() string {
return e.selected
}

var (
apiProjectName string
)

func validateRun(c *cli.Context) error {

apiTmpl := &TmplData{
Expand Down Expand Up @@ -64,10 +60,9 @@ func runCLI(args []string) {
Usage: "Generates a new api project",
Flags: []cli.Flag{
cli.StringFlag{
Name: "p, project-name",
Usage: "name of your API project",
Required: true,
Destination: &apiProjectName,
Name: "p, project-name",
Usage: "name of your API project",
Required: true,
},
cli.GenericFlag{
Name: "t, api-type",
Expand Down

0 comments on commit 6831cb2

Please sign in to comment.