Skip to content

Commit

Permalink
fix: rename the project to openfga/cli
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh committed Jun 12, 2023
1 parent 4f0f384 commit 0d02575
Show file tree
Hide file tree
Showing 23 changed files with 29 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ version: 3
server: https://app.fossa.com

project:
id: github.com/openfga/fga-cli
name: github.com/openfga/fga-cli
id: github.com/openfga/cli
name: github.com/openfga/cli
link: openfga.dev
url: github.com/openfga/fga-cli
url: github.com/openfga/cli

paths:
exclude:
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ linters-settings:
- $gostd
- github.com/spf13/cobra
- github.com/spf13/viper
- github.com/openfga/fga-cli
- github.com/openfga/cli
- github.com/openfga/go-sdk
test:
files:
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project_name: fga-cli
project_name: openfga-cli

builds:
-
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,4 +466,5 @@ See [CONTRIBUTING](https://github.com/openfga/.github/blob/main/CONTRIBUTING.md)

## License

This project is licensed under the Apache-2.0 license. See the [LICENSE](https://github.com/openfga/fga-cli/blob/main/LICENSE) file for more info.
This project is licensed under the Apache-2.0 license. See the [LICENSE](https://github.com/openfga/cli/blob/main/LICENSE) file for more info.
This project is licensed under the Apache-2.0 license. See the [LICENSE](https://github.com/openfga/cli/blob/main/LICENSE) file for more info.
2 changes: 1 addition & 1 deletion cmd/models/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
"github.com/openfga/cli/lib/cmd-utils"
openfga "github.com/openfga/go-sdk"
"github.com/openfga/go-sdk/client"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion cmd/models/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
"github.com/openfga/cli/lib/cmd-utils"
openfga "github.com/openfga/go-sdk"
"github.com/openfga/go-sdk/client"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion cmd/models/write.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
"github.com/openfga/cli/lib/cmd-utils"
"github.com/openfga/go-sdk/client"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/query/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
"github.com/openfga/cli/lib/cmd-utils"
"github.com/openfga/go-sdk/client"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/query/expand.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
"github.com/openfga/cli/lib/cmd-utils"
"github.com/openfga/go-sdk/client"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/query/list-objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
"github.com/openfga/cli/lib/cmd-utils"
"github.com/openfga/go-sdk/client"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/query/list-relations.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"os"
"strings"

"github.com/openfga/fga-cli/lib/cmd-utils"
"github.com/openfga/cli/lib/cmd-utils"
openfga "github.com/openfga/go-sdk"
"github.com/openfga/go-sdk/client"
"github.com/spf13/cobra"
Expand Down
8 changes: 4 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/cmd/models"
"github.com/openfga/fga-cli/cmd/query"
"github.com/openfga/fga-cli/cmd/stores"
"github.com/openfga/fga-cli/cmd/tuples"
"github.com/openfga/cli/cmd/models"
"github.com/openfga/cli/cmd/query"
"github.com/openfga/cli/cmd/stores"
"github.com/openfga/cli/cmd/tuples"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/stores/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
"github.com/openfga/cli/lib/cmd-utils"
"github.com/openfga/go-sdk/client"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/stores/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
"github.com/openfga/cli/lib/cmd-utils"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/stores/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
"github.com/openfga/cli/lib/cmd-utils"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/stores/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
"github.com/openfga/cli/lib/cmd-utils"
openfga "github.com/openfga/go-sdk"
"github.com/openfga/go-sdk/client"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tuples/changes.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
"github.com/openfga/cli/lib/cmd-utils"
openfga "github.com/openfga/go-sdk"
"github.com/openfga/go-sdk/client"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tuples/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
cmdutils "github.com/openfga/cli/lib/cmd-utils"
"github.com/openfga/go-sdk/client"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/tuples/read.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
cmdutils "github.com/openfga/cli/lib/cmd-utils"
openfga "github.com/openfga/go-sdk"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/tuples/write.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"os"

"github.com/openfga/fga-cli/lib/cmd-utils"
"github.com/openfga/cli/lib/cmd-utils"
"github.com/openfga/go-sdk/client"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/openfga/fga-cli
module github.com/openfga/cli

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion lib/cmd-utils/get-client-config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmdutils

import (
"github.com/openfga/fga-cli/lib/fga"
"github.com/openfga/cli/lib/fga"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/
package main

import "github.com/openfga/fga-cli/cmd"
import "github.com/openfga/cli/cmd"

func main() {
cmd.Execute()
Expand Down

0 comments on commit 0d02575

Please sign in to comment.