Skip to content

Commit

Permalink
Rename cmd -> cli for less confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
mweibel committed Jan 15, 2018
1 parent 98a8e33 commit dd8ecf1
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion cmd/rokka/cmd/command.go → cmd/rokka/cli/command.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion cmd/rokka/cmd/config.go → cmd/rokka/cli/config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion cmd/rokka/cmd/doc.go → cmd/rokka/cli/doc.go
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Package cmd contains the commands and helper utilities for the rokka CLI.
package cmd
package cli
2 changes: 1 addition & 1 deletion cmd/rokka/cmd/http.go → cmd/rokka/cli/http.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion cmd/rokka/cmd/logger.go → cmd/rokka/cli/logger.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion cmd/rokka/cmd/login.go → cmd/rokka/cli/login.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"errors"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"github.com/rokka-io/rokka-go/rokka"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"github.com/rokka-io/rokka-go/rokka"
Expand Down
2 changes: 1 addition & 1 deletion cmd/rokka/cmd/root.go → cmd/rokka/cli/root.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"github.com/rokka-io/rokka-go/rokka"
Expand Down
2 changes: 1 addition & 1 deletion cmd/rokka/cmd/stacks.go → cmd/rokka/cli/stacks.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"github.com/rokka-io/rokka-go/rokka"
Expand Down
2 changes: 1 addition & 1 deletion cmd/rokka/cmd/stats.go → cmd/rokka/cli/stats.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion cmd/rokka/cmd/users.go → cmd/rokka/cli/users.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package cli

import (
"github.com/rokka-io/rokka-go/rokka"
Expand Down
4 changes: 2 additions & 2 deletions cmd/rokka/main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// rokka CLI
package main

import "github.com/rokka-io/rokka-go/cmd/rokka/cmd"
import "github.com/rokka-io/rokka-go/cmd/rokka/cli"

func main() {
cmd.Execute()
cli.Execute()
}

0 comments on commit dd8ecf1

Please sign in to comment.