Skip to content

Commit d28b80f

Browse files
committed
Rename cmd package to commands
Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
1 parent ec29bc0 commit d28b80f

17 files changed

Lines changed: 20 additions & 22 deletions

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ VERSION:=$(shell git describe --tags)
1111
# VERSION := $(shell grep "const Version " version.go | sed -E 's/.*"(.+)"$$/\1/')
1212
BUILD:=$(shell date +%FT%T%z)
1313

14-
LDFLAGS=-ldflags "-w -s -X github.com/devopsdays/devopsdays-cli/cmd.Version=${VERSION} -X github.com/devopsdays/devopsdays-cli/cmd.Build=${BUILD}"
14+
LDFLAGS=-ldflags "-w -s -X github.com/devopsdays/devopsdays-cli/commands.Version=${VERSION} -X github.com/devopsdays/devopsdays-cli/commands.Build=${BUILD}"
1515

1616
help:
1717
@echo 'Available commands:'

cmd/add.go renamed to commands/add.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package cmd
1+
package commands
22

33
import (
44
"github.com/spf13/cobra"

cmd/config.go renamed to commands/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package cmd
1+
package commands
22

33
import (
44
"fmt"

cmd/create.go renamed to commands/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package cmd
1+
package commands
22

33
import (
44
"github.com/spf13/cobra"

cmd/edit.go renamed to commands/edit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package cmd
1+
package commands
22

33
import (
44
"github.com/spf13/cobra"

cmd/event.go renamed to commands/event.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package cmd
1+
package commands
22

33
import (
44
"fmt"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package cmd
1+
package commands
22

33
import (
44
"fmt"

cmd/program.go renamed to commands/program.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package cmd
1+
package commands
22

33
import (
44
"fmt"

cmd/prompt.go renamed to commands/prompt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package cmd
1+
package commands
22

33
import (
44
"github.com/AlecAivazis/survey"

cmd/remove.go renamed to commands/remove.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package cmd
1+
package commands
22

33
import (
44
"github.com/spf13/cobra"

0 commit comments

Comments
 (0)