Skip to content

Commit

Permalink
update mod name to fox
Browse files Browse the repository at this point in the history
  • Loading branch information
xadhatter committed Oct 20, 2023
1 parent b2b7289 commit d74af95
Show file tree
Hide file tree
Showing 37 changed files with 60 additions and 60 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# KubeFox CLI (🦊 Fox)

[![Go Report Card](https://goreportcard.com/badge/github.com/xigxog/kubefox-cli)](https://goreportcard.com/report/github.com/xigxog/kubefox-cli)
[![Go Report Card](https://goreportcard.com/badge/github.com/xigxog/fox)](https://goreportcard.com/report/github.com/xigxog/fox)

🦊 Fox is a CLI for interacting with KubeFox. You can use it to build, deploy,
and release your KubeFox apps. See
[docs](https://github.com/xigxog/kubefox-cli/blob/main/docs/fox.md) for details.
[docs](https://github.com/xigxog/fox/blob/main/docs/fox.md) for details.
2 changes: 1 addition & 1 deletion cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/xigxog/kubefox-cli/internal/repo"
"github.com/xigxog/fox/internal/repo"
)

var buildCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/fox/internal/log"
)

var cfgCmd = &cobra.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/kubefox-cli/internal/repo"
"github.com/xigxog/kubefox-cli/internal/utils"
"github.com/xigxog/fox/internal/log"
"github.com/xigxog/fox/internal/repo"
"github.com/xigxog/fox/internal/utils"
)

var deployCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/spf13/cobra"
"github.com/spf13/cobra/doc"
"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/fox/internal/log"
)

var docsCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
_ "embed"

"github.com/spf13/cobra"
"github.com/xigxog/kubefox-cli/internal/repo"
"github.com/xigxog/fox/internal/repo"
)

var initCmd = &cobra.Command{
Expand Down
4 changes: 2 additions & 2 deletions cmd/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"

"github.com/spf13/cobra"
"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/kubefox-cli/internal/repo"
"github.com/xigxog/fox/internal/log"
"github.com/xigxog/fox/internal/repo"
)

var publishCmd = &cobra.Command{
Expand Down
4 changes: 2 additions & 2 deletions cmd/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/kubefox-cli/internal/repo"
"github.com/xigxog/fox/internal/log"
"github.com/xigxog/fox/internal/repo"
)

var releaseCmd = &cobra.Command{
Expand Down
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"github.com/spf13/viper"
"github.com/xigxog/kubefox-cli/internal/config"
"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/fox/internal/config"
"github.com/xigxog/fox/internal/log"
"github.com/xigxog/kubefox/libs/core/kubefox"
ctrl "sigs.k8s.io/controller-runtime"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/fox/internal/log"
"github.com/xigxog/kubefox/libs/core/kubefox"
)

Expand Down
10 changes: 5 additions & 5 deletions docs/fox.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CLI for interacting with KubeFox


🦊 Fox is a CLI for interacting with KubeFox. You can use it to build, deploy,
and release your KubeFox Apps.
and release your KubeFox apps.


### Options
Expand All @@ -15,7 +15,7 @@ and release your KubeFox Apps.
-h, --help help for fox
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand All @@ -24,11 +24,11 @@ and release your KubeFox Apps.
* [fox build](fox_build.md) - Build and optionally push an OCI image of component
* [fox completion](fox_completion.md) - Generate the autocompletion script for the specified shell
* [fox config](fox_config.md) - Configure 🦊 Fox
* [fox deploy](fox_deploy.md) - Deploy app using the version of the currently checked out Git commit
* [fox deploy](fox_deploy.md) - Deploy KubeFox app using the version from the currently checked out Git commit
* [fox docs](fox_docs.md) - Generate docs for 🦊 Fox
* [fox init](fox_init.md) - Initialize a KubeFox app
* [fox publish](fox_publish.md) - Builds, pushes, and deploys app using the version of the currently checked out Git commit
* [fox release](fox_release.md) - Release app using the version of the currently checked out Git commit
* [fox publish](fox_publish.md) - Builds, pushes, and deploys KubeFox apps using the version of the currently checked out Git commit
* [fox release](fox_release.md) - Release app using the version from the currently checked out Git commit
* [fox version](fox_version.md) - Show version information of 🦊 Fox

###### Auto generated by spf13/cobra on 20-Oct-2023
2 changes: 1 addition & 1 deletion docs/fox_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fox build [component name] [flags]
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
2 changes: 1 addition & 1 deletion docs/fox_completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ See each sub-command's help for details on how to use the generated script.
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
2 changes: 1 addition & 1 deletion docs/fox_completion_bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fox completion bash
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
2 changes: 1 addition & 1 deletion docs/fox_completion_fish.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fox completion fish [flags]
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
2 changes: 1 addition & 1 deletion docs/fox_completion_powershell.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fox completion powershell [flags]
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
2 changes: 1 addition & 1 deletion docs/fox_completion_zsh.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fox completion zsh [flags]
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
2 changes: 1 addition & 1 deletion docs/fox_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Use the config subcommand to help setup your local environment.
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
2 changes: 1 addition & 1 deletion docs/fox_config_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fox config setup [flags]
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
2 changes: 1 addition & 1 deletion docs/fox_config_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fox config show [flags]
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
4 changes: 2 additions & 2 deletions docs/fox_deploy.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## fox deploy

Deploy app using the version of the currently checked out Git commit
Deploy KubeFox app using the version from the currently checked out Git commit

```
fox deploy [deployment name] [flags]
Expand All @@ -20,7 +20,7 @@ fox deploy [deployment name] [flags]
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
2 changes: 1 addition & 1 deletion docs/fox_docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fox docs [flags]
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
2 changes: 1 addition & 1 deletion docs/fox_init.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fox init [flags]
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
4 changes: 2 additions & 2 deletions docs/fox_publish.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## fox publish

Builds, pushes, and deploys app using the version of the currently checked out Git commit
Builds, pushes, and deploys KubeFox apps using the version of the currently checked out Git commit

```
fox publish [deploy-name] [flags]
Expand All @@ -25,7 +25,7 @@ fox publish [deploy-name] [flags]
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
4 changes: 2 additions & 2 deletions docs/fox_release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## fox release

Release app using the version of the currently checked out Git commit
Release app using the version from the currently checked out Git commit

### Synopsis

Expand Down Expand Up @@ -39,7 +39,7 @@ fox release [release name] [flags]
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

Expand Down
2 changes: 1 addition & 1 deletion docs/fox_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fox version [flags]
```
-i, --info enable info output
-o, --output string output format, one of ["json", "yaml"] (default "yaml")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/kubefox-cli")
-r, --repo string path of Git repository to operate against (default "/home/xadhatter/Workspace/src/github.com/xigxog/fox")
-v, --verbose enable verbose output
```

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/xigxog/kubefox-cli
module github.com/xigxog/fox

go 1.21

Expand Down
4 changes: 2 additions & 2 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"strings"

"github.com/cli/oauth/device"
"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/kubefox-cli/internal/utils"
"github.com/xigxog/fox/internal/log"
"github.com/xigxog/fox/internal/utils"
"sigs.k8s.io/yaml"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/kubernetes/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/client/config"

"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/fox/internal/log"
"github.com/xigxog/kubefox/libs/api/kubernetes/v1alpha1"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/repo/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"github.com/docker/docker/api/types/registry"
"github.com/docker/docker/pkg/archive"
"github.com/moby/patternmatcher/ignorefile"
"github.com/xigxog/kubefox-cli/efs"
"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/kubefox-cli/internal/utils"
"github.com/xigxog/fox/efs"
"github.com/xigxog/fox/internal/log"
"github.com/xigxog/fox/internal/utils"
"github.com/xigxog/kubefox/libs/core/kubefox"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/repo/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"strconv"
"time"

"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/kubefox-cli/internal/utils"
"github.com/xigxog/fox/internal/log"
"github.com/xigxog/fox/internal/utils"
"github.com/xigxog/kubefox/libs/api/kubernetes/v1alpha1"
"github.com/xigxog/kubefox/libs/core/kubefox"
corev1 "k8s.io/api/core/v1"
Expand Down
8 changes: 4 additions & 4 deletions internal/repo/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import (
"github.com/go-git/go-git/v5/plumbing"
"github.com/go-git/go-git/v5/plumbing/cache"
"github.com/go-git/go-git/v5/storage/filesystem"
"github.com/xigxog/kubefox-cli/efs"
"github.com/xigxog/kubefox-cli/internal/config"
"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/kubefox-cli/internal/utils"
"github.com/xigxog/fox/efs"
"github.com/xigxog/fox/internal/config"
"github.com/xigxog/fox/internal/log"
"github.com/xigxog/fox/internal/utils"
)

func Init(cfg *config.Config) {
Expand Down
2 changes: 1 addition & 1 deletion internal/repo/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"path/filepath"

"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/fox/internal/log"
"github.com/xigxog/kubefox/libs/api/kubernetes/v1alpha1"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/repo/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"time"

"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/fox/internal/log"
"github.com/xigxog/kubefox/libs/api/kubernetes/v1alpha1"
"k8s.io/apimachinery/pkg/api/errors"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
8 changes: 4 additions & 4 deletions internal/repo/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
docker "github.com/docker/docker/client"
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/plumbing"
"github.com/xigxog/kubefox-cli/internal/config"
"github.com/xigxog/kubefox-cli/internal/kubernetes"
"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/kubefox-cli/internal/utils"
"github.com/xigxog/fox/internal/config"
"github.com/xigxog/fox/internal/kubernetes"
"github.com/xigxog/fox/internal/log"
"github.com/xigxog/fox/internal/utils"
"gopkg.in/yaml.v2"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"regexp"
"strings"

"github.com/xigxog/kubefox-cli/internal/log"
"github.com/xigxog/fox/internal/log"
)

var specChars = regexp.MustCompile(`[^a-z0-9]`)
Expand Down
Loading

0 comments on commit d74af95

Please sign in to comment.