diff --git a/README.md b/README.md index cf3043d..641284a 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/cmd/build.go b/cmd/build.go index 6449fb9..8ac20b3 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -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{ diff --git a/cmd/config.go b/cmd/config.go index e192b66..4ad5e5e 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -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{ diff --git a/cmd/deploy.go b/cmd/deploy.go index 9dd57dd..a7899f0 100644 --- a/cmd/deploy.go +++ b/cmd/deploy.go @@ -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{ diff --git a/cmd/docs.go b/cmd/docs.go index cc2dddd..b12a1a4 100644 --- a/cmd/docs.go +++ b/cmd/docs.go @@ -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{ diff --git a/cmd/init.go b/cmd/init.go index 585058e..e5c0c4a 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -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{ diff --git a/cmd/publish.go b/cmd/publish.go index 89fd37f..4564ab2 100644 --- a/cmd/publish.go +++ b/cmd/publish.go @@ -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{ diff --git a/cmd/release.go b/cmd/release.go index 3d8072d..1c8aabd 100644 --- a/cmd/release.go +++ b/cmd/release.go @@ -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{ diff --git a/cmd/root.go b/cmd/root.go index 93e8eba..500b56e 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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" ) diff --git a/cmd/version.go b/cmd/version.go index 54e8d2a..db111fb 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -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" ) diff --git a/docs/fox.md b/docs/fox.md index 02b2fae..5b2d5f1 100644 --- a/docs/fox.md +++ b/docs/fox.md @@ -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 @@ -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 ``` @@ -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 diff --git a/docs/fox_build.md b/docs/fox_build.md index 80347db..bcee383 100644 --- a/docs/fox_build.md +++ b/docs/fox_build.md @@ -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 ``` diff --git a/docs/fox_completion.md b/docs/fox_completion.md index 6c177d1..e154cf8 100644 --- a/docs/fox_completion.md +++ b/docs/fox_completion.md @@ -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 ``` diff --git a/docs/fox_completion_bash.md b/docs/fox_completion_bash.md index 588f593..46fba70 100644 --- a/docs/fox_completion_bash.md +++ b/docs/fox_completion_bash.md @@ -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 ``` diff --git a/docs/fox_completion_fish.md b/docs/fox_completion_fish.md index 6e91940..bdb7f29 100644 --- a/docs/fox_completion_fish.md +++ b/docs/fox_completion_fish.md @@ -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 ``` diff --git a/docs/fox_completion_powershell.md b/docs/fox_completion_powershell.md index c6b7504..9f94469 100644 --- a/docs/fox_completion_powershell.md +++ b/docs/fox_completion_powershell.md @@ -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 ``` diff --git a/docs/fox_completion_zsh.md b/docs/fox_completion_zsh.md index a444fb9..7945254 100644 --- a/docs/fox_completion_zsh.md +++ b/docs/fox_completion_zsh.md @@ -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 ``` diff --git a/docs/fox_config.md b/docs/fox_config.md index b48fd11..be027e8 100644 --- a/docs/fox_config.md +++ b/docs/fox_config.md @@ -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 ``` diff --git a/docs/fox_config_setup.md b/docs/fox_config_setup.md index cb5bc16..af3cf2d 100644 --- a/docs/fox_config_setup.md +++ b/docs/fox_config_setup.md @@ -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 ``` diff --git a/docs/fox_config_show.md b/docs/fox_config_show.md index 101f8b6..0822fc9 100644 --- a/docs/fox_config_show.md +++ b/docs/fox_config_show.md @@ -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 ``` diff --git a/docs/fox_deploy.md b/docs/fox_deploy.md index 6779225..f496198 100644 --- a/docs/fox_deploy.md +++ b/docs/fox_deploy.md @@ -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] @@ -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 ``` diff --git a/docs/fox_docs.md b/docs/fox_docs.md index 53ceda3..7fc21c0 100644 --- a/docs/fox_docs.md +++ b/docs/fox_docs.md @@ -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 ``` diff --git a/docs/fox_init.md b/docs/fox_init.md index 545bc41..0a87ba4 100644 --- a/docs/fox_init.md +++ b/docs/fox_init.md @@ -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 ``` diff --git a/docs/fox_publish.md b/docs/fox_publish.md index d60fa3f..92f02ec 100644 --- a/docs/fox_publish.md +++ b/docs/fox_publish.md @@ -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] @@ -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 ``` diff --git a/docs/fox_release.md b/docs/fox_release.md index 7cf6e91..5f28bfb 100644 --- a/docs/fox_release.md +++ b/docs/fox_release.md @@ -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 @@ -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 ``` diff --git a/docs/fox_version.md b/docs/fox_version.md index 9558599..5ecc060 100644 --- a/docs/fox_version.md +++ b/docs/fox_version.md @@ -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 ``` diff --git a/go.mod b/go.mod index 369f888..a68d2c4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/xigxog/kubefox-cli +module github.com/xigxog/fox go 1.21 diff --git a/internal/config/config.go b/internal/config/config.go index 0cadaa5..f362526 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -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" ) diff --git a/internal/kubernetes/client.go b/internal/kubernetes/client.go index 003cd75..ee1f0b9 100644 --- a/internal/kubernetes/client.go +++ b/internal/kubernetes/client.go @@ -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" ) diff --git a/internal/repo/build.go b/internal/repo/build.go index a58fca4..ff56c59 100644 --- a/internal/repo/build.go +++ b/internal/repo/build.go @@ -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" ) diff --git a/internal/repo/deploy.go b/internal/repo/deploy.go index 3b302f9..68bd37f 100644 --- a/internal/repo/deploy.go +++ b/internal/repo/deploy.go @@ -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" diff --git a/internal/repo/init.go b/internal/repo/init.go index 8939cfd..6f36638 100644 --- a/internal/repo/init.go +++ b/internal/repo/init.go @@ -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) { diff --git a/internal/repo/publish.go b/internal/repo/publish.go index 67d83b1..2e5aab0 100644 --- a/internal/repo/publish.go +++ b/internal/repo/publish.go @@ -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" ) diff --git a/internal/repo/release.go b/internal/repo/release.go index 3959d93..b9c8e07 100644 --- a/internal/repo/release.go +++ b/internal/repo/release.go @@ -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" diff --git a/internal/repo/repo.go b/internal/repo/repo.go index 385e407..9aa02e1 100644 --- a/internal/repo/repo.go +++ b/internal/repo/repo.go @@ -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" ) diff --git a/internal/utils/utils.go b/internal/utils/utils.go index a3023f6..8abbc81 100644 --- a/internal/utils/utils.go +++ b/internal/utils/utils.go @@ -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]`) diff --git a/main.go b/main.go index 9a9e89b..776e37a 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/xigxog/kubefox-cli/cmd" + "github.com/xigxog/fox/cmd" ) func main() {