From f862973c44dde6ffe4cee42f98a79421011d9415 Mon Sep 17 00:00:00 2001 From: Ryan McGuire Date: Thu, 19 Dec 2024 14:51:26 -0500 Subject: [PATCH] Add docs, Makefile --- .gitignore | 1 + Makefile | 24 +++ README.md | 4 + cmd/docs.go | 60 ++++++++ cmd/util_constants.go | 1 + docs/gitlab-project-manager.md | 30 ++++ docs/gitlab-project-manager_alias.md | 32 ++++ docs/gitlab-project-manager_alias_add.md | 34 +++++ docs/gitlab-project-manager_alias_delete.md | 34 +++++ docs/gitlab-project-manager_alias_list.md | 32 ++++ docs/gitlab-project-manager_cache.md | 35 +++++ docs/gitlab-project-manager_cache_clear.md | 36 +++++ docs/gitlab-project-manager_cache_dump.md | 34 +++++ docs/gitlab-project-manager_cache_load.md | 36 +++++ docs/gitlab-project-manager_cache_unlock.md | 34 +++++ docs/gitlab-project-manager_completion.md | 34 +++++ .../gitlab-project-manager_completion_bash.md | 53 +++++++ .../gitlab-project-manager_completion_fish.md | 44 ++++++ ...b-project-manager_completion_powershell.md | 41 ++++++ docs/gitlab-project-manager_completion_zsh.md | 55 +++++++ docs/gitlab-project-manager_config.md | 31 ++++ .../gitlab-project-manager_config_generate.md | 35 +++++ docs/gitlab-project-manager_config_show.md | 29 ++++ docs/gitlab-project-manager_docs.md | 29 ++++ docs/gitlab-project-manager_project.md | 36 +++++ docs/gitlab-project-manager_project_add.md | 33 +++++ docs/gitlab-project-manager_project_go.md | 36 +++++ docs/gitlab-project-manager_project_list.md | 34 +++++ docs/gitlab-project-manager_project_open.md | 39 +++++ docs/gitlab-project-manager_project_run.md | 33 +++++ docs/gitlab-project-manager_project_show.md | 34 +++++ go.mod | 5 + go.sum | 137 ++---------------- 33 files changed, 1037 insertions(+), 128 deletions(-) create mode 100644 Makefile create mode 100644 cmd/docs.go create mode 100644 docs/gitlab-project-manager.md create mode 100644 docs/gitlab-project-manager_alias.md create mode 100644 docs/gitlab-project-manager_alias_add.md create mode 100644 docs/gitlab-project-manager_alias_delete.md create mode 100644 docs/gitlab-project-manager_alias_list.md create mode 100644 docs/gitlab-project-manager_cache.md create mode 100644 docs/gitlab-project-manager_cache_clear.md create mode 100644 docs/gitlab-project-manager_cache_dump.md create mode 100644 docs/gitlab-project-manager_cache_load.md create mode 100644 docs/gitlab-project-manager_cache_unlock.md create mode 100644 docs/gitlab-project-manager_completion.md create mode 100644 docs/gitlab-project-manager_completion_bash.md create mode 100644 docs/gitlab-project-manager_completion_fish.md create mode 100644 docs/gitlab-project-manager_completion_powershell.md create mode 100644 docs/gitlab-project-manager_completion_zsh.md create mode 100644 docs/gitlab-project-manager_config.md create mode 100644 docs/gitlab-project-manager_config_generate.md create mode 100644 docs/gitlab-project-manager_config_show.md create mode 100644 docs/gitlab-project-manager_docs.md create mode 100644 docs/gitlab-project-manager_project.md create mode 100644 docs/gitlab-project-manager_project_add.md create mode 100644 docs/gitlab-project-manager_project_go.md create mode 100644 docs/gitlab-project-manager_project_list.md create mode 100644 docs/gitlab-project-manager_project_open.md create mode 100644 docs/gitlab-project-manager_project_run.md create mode 100644 docs/gitlab-project-manager_project_show.md diff --git a/.gitignore b/.gitignore index 51b4eab..703d161 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ gitlab-project-manager +bin/* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cec8ef1 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +CMD_NAME := git-project-manager +GO_FORMATTER := gofumpt + +IS_GNU_SED := $(shell sed --version >/dev/null 2>&1 && echo true || echo false) +SED_INLINE := $(if $(filter true,$(IS_GNU_SED)),-i,-i '') + +.PHONY: all test build install docs clean + +all: test build install docs + +test: + go test -v ./... + +build: test + go build -o bin/${CMD_NAME} + +install: + go install -v . + +docs: + bin/${CMD_NAME} docs md + +clean: + rm -rf bin/${CMD_NAME} diff --git a/README.md b/README.md index 6af43dc..92bb2f3 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,10 @@ The goal of this utility is to provide a fuzzy-find method of locating, cloning, and using GitLab projects -- along with your preferred aliases, autocompletion, and shortcuts. +## Documentation + +[Full documentation is available in docs/](./docs) + ## Functionality This program will try like hell to help you fuzzily find a project, diff --git a/cmd/docs.go b/cmd/docs.go new file mode 100644 index 0000000..0a597dd --- /dev/null +++ b/cmd/docs.go @@ -0,0 +1,60 @@ +package cmd + +import ( + "os" + + "github.com/spf13/cobra" + "github.com/spf13/cobra/doc" +) + +var docsCmd = &cobra.Command{ + Use: "docs", + Aliases: []string{"documentation"}, + Short: "Generate documentation for git-project-manager", + Args: cobra.RangeArgs(1, 1), + ValidArgs: []string{"md", "man", "yaml"}, + Run: runDocsCmd, +} + +func runDocsCmd(cmd *cobra.Command, args []string) { + outDir, err := cmd.Flags().GetString(FlagDocsPath) + if err != nil { + plog.Error("missing docs path") + } + + prepareDocsDir(cmd, outDir) + + switch args[0] { + case "md": + err = doc.GenMarkdownTree(cmd.Root(), outDir) + case "man": + err = doc.GenManTree(cmd.Root(), &doc.GenManHeader{ + Title: "EIA Client", + Section: "1", + }, outDir) + case "yaml": + err = doc.GenYamlTree(cmd.Root(), outDir) + default: + plog.Error("invalid docs type", plog.Args("type", args[0])) + } + + plog.Info("docs generation complete", plog.Args( + "type", args[0], "docsDir", outDir)) +} + +func prepareDocsDir(cmd *cobra.Command, outDir string) { + _, err := os.Stat(outDir) + if err != nil { + err = os.Mkdir(outDir, 0o755) + if err != nil { + plog.Error("failed to create docs path", plog.Args( + "error", err.Error(), "docsDir", outDir)) + } + } +} + +func init() { + docsCmd.PersistentFlags().StringP(FlagDocsPath, "d", "./docs", "specify output directory for documentation") + + rootCmd.AddCommand(docsCmd) +} diff --git a/cmd/util_constants.go b/cmd/util_constants.go index 91c7a4b..efed5a4 100644 --- a/cmd/util_constants.go +++ b/cmd/util_constants.go @@ -14,6 +14,7 @@ const ( FlagPrompt = "prompt" FlagWrite = "write" FlagSensitive = "sensitive" + FlagDocsPath = "docsPath" // Viper config bindings ViperAliasAddPID = "alias.add.projectID" diff --git a/docs/gitlab-project-manager.md b/docs/gitlab-project-manager.md new file mode 100644 index 0000000..6579b67 --- /dev/null +++ b/docs/gitlab-project-manager.md @@ -0,0 +1,30 @@ +## gitlab-project-manager + +Find and use GitLab projects locally + +### Synopsis + +Finds GitLab projects using fuzzy-find, remembering +your chosen term for the project as an alias, and offers helpful +shortcuts for moving around in projects and opening your code + +### Options + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + -h, --help help for gitlab-project-manager + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager alias](gitlab-project-manager_alias.md) - Manage project aliases +* [gitlab-project-manager cache](gitlab-project-manager_cache.md) - Manage GitLab project cache +* [gitlab-project-manager completion](gitlab-project-manager_completion.md) - Generate the autocompletion script for the specified shell +* [gitlab-project-manager config](gitlab-project-manager_config.md) - GitLab Project Manager Configuration +* [gitlab-project-manager docs](gitlab-project-manager_docs.md) - Generate documentation for git-project-manager +* [gitlab-project-manager project](gitlab-project-manager_project.md) - Use a GitLab project + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_alias.md b/docs/gitlab-project-manager_alias.md new file mode 100644 index 0000000..63ba048 --- /dev/null +++ b/docs/gitlab-project-manager_alias.md @@ -0,0 +1,32 @@ +## gitlab-project-manager alias + +Manage project aliases + +### Synopsis + +Manages project aliases, with options for +listing, adding, and deleting. + +### Options + +``` + -h, --help help for alias +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager](gitlab-project-manager.md) - Find and use GitLab projects locally +* [gitlab-project-manager alias add](gitlab-project-manager_alias_add.md) - Add a project alias +* [gitlab-project-manager alias delete](gitlab-project-manager_alias_delete.md) - Delete a project alias +* [gitlab-project-manager alias list](gitlab-project-manager_alias_list.md) - List Aliases + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_alias_add.md b/docs/gitlab-project-manager_alias_add.md new file mode 100644 index 0000000..711059c --- /dev/null +++ b/docs/gitlab-project-manager_alias_add.md @@ -0,0 +1,34 @@ +## gitlab-project-manager alias add + +Add a project alias + +### Synopsis + +Adds a project alias to a project +project ID can be provided, or will otherwise use fuzzy find + +``` +gitlab-project-manager alias add [flags] +``` + +### Options + +``` + -h, --help help for add + --projectID int Specify a project by ID +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager alias](gitlab-project-manager_alias.md) - Manage project aliases + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_alias_delete.md b/docs/gitlab-project-manager_alias_delete.md new file mode 100644 index 0000000..c8f6c8f --- /dev/null +++ b/docs/gitlab-project-manager_alias_delete.md @@ -0,0 +1,34 @@ +## gitlab-project-manager alias delete + +Delete a project alias + +### Synopsis + +Deletes aliases from projects +project ID can be provided, or will otherwise use fuzzy find + +``` +gitlab-project-manager alias delete [fuzzy project or alias] [flags] +``` + +### Options + +``` + -h, --help help for delete + --projectID int Specify a project by ID +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager alias](gitlab-project-manager_alias.md) - Manage project aliases + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_alias_list.md b/docs/gitlab-project-manager_alias_list.md new file mode 100644 index 0000000..a16a39d --- /dev/null +++ b/docs/gitlab-project-manager_alias_list.md @@ -0,0 +1,32 @@ +## gitlab-project-manager alias list + +List Aliases + +### Synopsis + +Lists all aliases by project + +``` +gitlab-project-manager alias list [flags] +``` + +### Options + +``` + -h, --help help for list +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager alias](gitlab-project-manager_alias.md) - Manage project aliases + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_cache.md b/docs/gitlab-project-manager_cache.md new file mode 100644 index 0000000..51e4bb7 --- /dev/null +++ b/docs/gitlab-project-manager_cache.md @@ -0,0 +1,35 @@ +## gitlab-project-manager cache + +Manage GitLab project cache + +### Synopsis + +Contains sub-commands for managing project cache. +The project cache keeps this speedy, without smashing against the GitLab +API every time a new project is added / searched for + +### Options + +``` + -h, --help help for cache + --ttl duration Duration before cache is re-built in go time.Duration format (default 48h0m0s) +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager](gitlab-project-manager.md) - Find and use GitLab projects locally +* [gitlab-project-manager cache clear](gitlab-project-manager_cache_clear.md) - Clear GitLab Project Cache +* [gitlab-project-manager cache dump](gitlab-project-manager_cache_dump.md) - Dump GitLab project cache +* [gitlab-project-manager cache load](gitlab-project-manager_cache_load.md) - Load GitLab Project Cache +* [gitlab-project-manager cache unlock](gitlab-project-manager_cache_unlock.md) - unlock GitLab project cache + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_cache_clear.md b/docs/gitlab-project-manager_cache_clear.md new file mode 100644 index 0000000..0dc61a9 --- /dev/null +++ b/docs/gitlab-project-manager_cache_clear.md @@ -0,0 +1,36 @@ +## gitlab-project-manager cache clear + +Clear GitLab Project Cache + +### Synopsis + +Used to reset a project cache, forcing it to be rebuilt. + +If --clearAliases is provided, will also reset aliases. Use with caution. + +``` +gitlab-project-manager cache clear [flags] +``` + +### Options + +``` + --clearAliases Will also clear aliases from the cache, use with caution + -h, --help help for clear +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. + --ttl duration Duration before cache is re-built in go time.Duration format (default 48h0m0s) +``` + +### SEE ALSO + +* [gitlab-project-manager cache](gitlab-project-manager_cache.md) - Manage GitLab project cache + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_cache_dump.md b/docs/gitlab-project-manager_cache_dump.md new file mode 100644 index 0000000..904699b --- /dev/null +++ b/docs/gitlab-project-manager_cache_dump.md @@ -0,0 +1,34 @@ +## gitlab-project-manager cache dump + +Dump GitLab project cache + +### Synopsis + +Dumps cache to display + +``` +gitlab-project-manager cache dump [flags] +``` + +### Options + +``` + -f, --full Dumps entire cache + -h, --help help for dump +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. + --ttl duration Duration before cache is re-built in go time.Duration format (default 48h0m0s) +``` + +### SEE ALSO + +* [gitlab-project-manager cache](gitlab-project-manager_cache.md) - Manage GitLab project cache + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_cache_load.md b/docs/gitlab-project-manager_cache_load.md new file mode 100644 index 0000000..d57f1f2 --- /dev/null +++ b/docs/gitlab-project-manager_cache_load.md @@ -0,0 +1,36 @@ +## gitlab-project-manager cache load + +Load GitLab Project Cache + +### Synopsis + +Used to initialize or update a new GitLab cache. With thousands +of projects, it would be too much work to hit the API every time a user +wants to find a new project. + +``` +gitlab-project-manager cache load [flags] +``` + +### Options + +``` + -h, --help help for load + --ownerOnly Only load projects that you are owner of (default true) +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. + --ttl duration Duration before cache is re-built in go time.Duration format (default 48h0m0s) +``` + +### SEE ALSO + +* [gitlab-project-manager cache](gitlab-project-manager_cache.md) - Manage GitLab project cache + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_cache_unlock.md b/docs/gitlab-project-manager_cache_unlock.md new file mode 100644 index 0000000..4adbb7f --- /dev/null +++ b/docs/gitlab-project-manager_cache_unlock.md @@ -0,0 +1,34 @@ +## gitlab-project-manager cache unlock + +unlock GitLab project cache + +### Synopsis + +unlocks cache to display + +``` +gitlab-project-manager cache unlock [flags] +``` + +### Options + +``` + -f, --force force unlocks cache (don't ask) + -h, --help help for unlock +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. + --ttl duration Duration before cache is re-built in go time.Duration format (default 48h0m0s) +``` + +### SEE ALSO + +* [gitlab-project-manager cache](gitlab-project-manager_cache.md) - Manage GitLab project cache + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_completion.md b/docs/gitlab-project-manager_completion.md new file mode 100644 index 0000000..983cd66 --- /dev/null +++ b/docs/gitlab-project-manager_completion.md @@ -0,0 +1,34 @@ +## gitlab-project-manager completion + +Generate the autocompletion script for the specified shell + +### Synopsis + +Generate the autocompletion script for gitlab-project-manager for the specified shell. +See each sub-command's help for details on how to use the generated script. + + +### Options + +``` + -h, --help help for completion +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager](gitlab-project-manager.md) - Find and use GitLab projects locally +* [gitlab-project-manager completion bash](gitlab-project-manager_completion_bash.md) - Generate the autocompletion script for bash +* [gitlab-project-manager completion fish](gitlab-project-manager_completion_fish.md) - Generate the autocompletion script for fish +* [gitlab-project-manager completion powershell](gitlab-project-manager_completion_powershell.md) - Generate the autocompletion script for powershell +* [gitlab-project-manager completion zsh](gitlab-project-manager_completion_zsh.md) - Generate the autocompletion script for zsh + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_completion_bash.md b/docs/gitlab-project-manager_completion_bash.md new file mode 100644 index 0000000..64a23bf --- /dev/null +++ b/docs/gitlab-project-manager_completion_bash.md @@ -0,0 +1,53 @@ +## gitlab-project-manager completion bash + +Generate the autocompletion script for bash + +### Synopsis + +Generate the autocompletion script for the bash shell. + +This script depends on the 'bash-completion' package. +If it is not installed already, you can install it via your OS's package manager. + +To load completions in your current shell session: + + source <(gitlab-project-manager completion bash) + +To load completions for every new session, execute once: + +#### Linux: + + gitlab-project-manager completion bash > /etc/bash_completion.d/gitlab-project-manager + +#### macOS: + + gitlab-project-manager completion bash > $(brew --prefix)/etc/bash_completion.d/gitlab-project-manager + +You will need to start a new shell for this setup to take effect. + + +``` +gitlab-project-manager completion bash +``` + +### Options + +``` + -h, --help help for bash + --no-descriptions disable completion descriptions +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager completion](gitlab-project-manager_completion.md) - Generate the autocompletion script for the specified shell + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_completion_fish.md b/docs/gitlab-project-manager_completion_fish.md new file mode 100644 index 0000000..7db23b1 --- /dev/null +++ b/docs/gitlab-project-manager_completion_fish.md @@ -0,0 +1,44 @@ +## gitlab-project-manager completion fish + +Generate the autocompletion script for fish + +### Synopsis + +Generate the autocompletion script for the fish shell. + +To load completions in your current shell session: + + gitlab-project-manager completion fish | source + +To load completions for every new session, execute once: + + gitlab-project-manager completion fish > ~/.config/fish/completions/gitlab-project-manager.fish + +You will need to start a new shell for this setup to take effect. + + +``` +gitlab-project-manager completion fish [flags] +``` + +### Options + +``` + -h, --help help for fish + --no-descriptions disable completion descriptions +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager completion](gitlab-project-manager_completion.md) - Generate the autocompletion script for the specified shell + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_completion_powershell.md b/docs/gitlab-project-manager_completion_powershell.md new file mode 100644 index 0000000..304142e --- /dev/null +++ b/docs/gitlab-project-manager_completion_powershell.md @@ -0,0 +1,41 @@ +## gitlab-project-manager completion powershell + +Generate the autocompletion script for powershell + +### Synopsis + +Generate the autocompletion script for powershell. + +To load completions in your current shell session: + + gitlab-project-manager completion powershell | Out-String | Invoke-Expression + +To load completions for every new session, add the output of the above command +to your powershell profile. + + +``` +gitlab-project-manager completion powershell [flags] +``` + +### Options + +``` + -h, --help help for powershell + --no-descriptions disable completion descriptions +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager completion](gitlab-project-manager_completion.md) - Generate the autocompletion script for the specified shell + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_completion_zsh.md b/docs/gitlab-project-manager_completion_zsh.md new file mode 100644 index 0000000..d664106 --- /dev/null +++ b/docs/gitlab-project-manager_completion_zsh.md @@ -0,0 +1,55 @@ +## gitlab-project-manager completion zsh + +Generate the autocompletion script for zsh + +### Synopsis + +Generate the autocompletion script for the zsh shell. + +If shell completion is not already enabled in your environment you will need +to enable it. You can execute the following once: + + echo "autoload -U compinit; compinit" >> ~/.zshrc + +To load completions in your current shell session: + + source <(gitlab-project-manager completion zsh) + +To load completions for every new session, execute once: + +#### Linux: + + gitlab-project-manager completion zsh > "${fpath[1]}/_gitlab-project-manager" + +#### macOS: + + gitlab-project-manager completion zsh > $(brew --prefix)/share/zsh/site-functions/_gitlab-project-manager + +You will need to start a new shell for this setup to take effect. + + +``` +gitlab-project-manager completion zsh [flags] +``` + +### Options + +``` + -h, --help help for zsh + --no-descriptions disable completion descriptions +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager completion](gitlab-project-manager_completion.md) - Generate the autocompletion script for the specified shell + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_config.md b/docs/gitlab-project-manager_config.md new file mode 100644 index 0000000..6e9384b --- /dev/null +++ b/docs/gitlab-project-manager_config.md @@ -0,0 +1,31 @@ +## gitlab-project-manager config + +GitLab Project Manager Configuration + +### Synopsis + +Commands for managing configuration, particulary +useful for seeding a new config file + +### Options + +``` + -h, --help help for config +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager](gitlab-project-manager.md) - Find and use GitLab projects locally +* [gitlab-project-manager config generate](gitlab-project-manager_config_generate.md) - Generate a default configuration +* [gitlab-project-manager config show](gitlab-project-manager_config_show.md) - Show GitLab Project Manager Configuration + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_config_generate.md b/docs/gitlab-project-manager_config_generate.md new file mode 100644 index 0000000..3533be8 --- /dev/null +++ b/docs/gitlab-project-manager_config_generate.md @@ -0,0 +1,35 @@ +## gitlab-project-manager config generate + +Generate a default configuration + +### Synopsis + +Produces yaml to stdout that can be used +to seed the configuration file + +``` +gitlab-project-manager config generate [flags] +``` + +### Options + +``` + -h, --help help for generate + --prompt Prompt for settings + --write Write config to file +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager config](gitlab-project-manager_config.md) - GitLab Project Manager Configuration + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_config_show.md b/docs/gitlab-project-manager_config_show.md new file mode 100644 index 0000000..e6b98e0 --- /dev/null +++ b/docs/gitlab-project-manager_config_show.md @@ -0,0 +1,29 @@ +## gitlab-project-manager config show + +Show GitLab Project Manager Configuration + +``` +gitlab-project-manager config show [flags] +``` + +### Options + +``` + -h, --help help for show + -s, --sensitive Set to show sensitive fields +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager config](gitlab-project-manager_config.md) - GitLab Project Manager Configuration + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_docs.md b/docs/gitlab-project-manager_docs.md new file mode 100644 index 0000000..476c4ad --- /dev/null +++ b/docs/gitlab-project-manager_docs.md @@ -0,0 +1,29 @@ +## gitlab-project-manager docs + +Generate documentation for git-project-manager + +``` +gitlab-project-manager docs [flags] +``` + +### Options + +``` + -d, --docsPath string specify output directory for documentation (default "./docs") + -h, --help help for docs +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager](gitlab-project-manager.md) - Find and use GitLab projects locally + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_project.md b/docs/gitlab-project-manager_project.md new file mode 100644 index 0000000..a050fef --- /dev/null +++ b/docs/gitlab-project-manager_project.md @@ -0,0 +1,36 @@ +## gitlab-project-manager project + +Use a GitLab project + +### Synopsis + +Switches to a GitLab project by name or alias +If not found, will enter fzf mode. If not cloned, will clone +the project locally. + +### Options + +``` + -h, --help help for project +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager](gitlab-project-manager.md) - Find and use GitLab projects locally +* [gitlab-project-manager project add](gitlab-project-manager_project_add.md) - Add a new GitLab project +* [gitlab-project-manager project go](gitlab-project-manager_project_go.md) - Go to a GitLab project +* [gitlab-project-manager project list](gitlab-project-manager_project_list.md) - List GitLab Projects +* [gitlab-project-manager project open](gitlab-project-manager_project_open.md) - Open project in your IDE +* [gitlab-project-manager project run](gitlab-project-manager_project_run.md) - Run the project (e.g. go run .) +* [gitlab-project-manager project show](gitlab-project-manager_project_show.md) - Show detail for a GitLab project + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_project_add.md b/docs/gitlab-project-manager_project_add.md new file mode 100644 index 0000000..a373577 --- /dev/null +++ b/docs/gitlab-project-manager_project_add.md @@ -0,0 +1,33 @@ +## gitlab-project-manager project add + +Add a new GitLab project + +### Synopsis + +Adds a new project to the local project path +uses fuzzy find to locate the project + +``` +gitlab-project-manager project add [flags] +``` + +### Options + +``` + -h, --help help for add +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager project](gitlab-project-manager_project.md) - Use a GitLab project + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_project_go.md b/docs/gitlab-project-manager_project_go.md new file mode 100644 index 0000000..c0f4b7e --- /dev/null +++ b/docs/gitlab-project-manager_project_go.md @@ -0,0 +1,36 @@ +## gitlab-project-manager project go + +Go to a GitLab project + +### Synopsis + +Go to a project, searching by alias +If project is not already cloned, its path will be built and it +will be cloned from source control. + +If conf.projects.alwaysPull, a git pull will be ran automatically + +``` +gitlab-project-manager project go [fuzzy alias search] [flags] +``` + +### Options + +``` + -h, --help help for go +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager project](gitlab-project-manager_project.md) - Use a GitLab project + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_project_list.md b/docs/gitlab-project-manager_project_list.md new file mode 100644 index 0000000..42b06ed --- /dev/null +++ b/docs/gitlab-project-manager_project_list.md @@ -0,0 +1,34 @@ +## gitlab-project-manager project list + +List GitLab Projects + +### Synopsis + +List locally cloned projects. Optionally +lists all projects in project cache + +``` +gitlab-project-manager project list [flags] +``` + +### Options + +``` + --all List all, not just cloned locally + -h, --help help for list +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager project](gitlab-project-manager_project.md) - Use a GitLab project + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_project_open.md b/docs/gitlab-project-manager_project_open.md new file mode 100644 index 0000000..a1c6b07 --- /dev/null +++ b/docs/gitlab-project-manager_project_open.md @@ -0,0 +1,39 @@ +## gitlab-project-manager project open + +Open project in your IDE + +### Synopsis + +Opens the given project directory in the editor +of your choice. Will find certain well-known entrypoints (e.g. main.go). + +If your editor is set in your config file, it will be used, otherwise +one will be found in your path from a list of known defaults. + +``` +gitlab-project-manager project open [fuzzy alias search] [flags] +``` + +### Options + +``` + --binary string Path to editor binary + --displayName string Set display name of editor (meant for config file) + -h, --help help for open + --openFlags string Optional flags when opening project (e.g. --reuse-window) +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager project](gitlab-project-manager_project.md) - Use a GitLab project + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_project_run.md b/docs/gitlab-project-manager_project_run.md new file mode 100644 index 0000000..83d9041 --- /dev/null +++ b/docs/gitlab-project-manager_project_run.md @@ -0,0 +1,33 @@ +## gitlab-project-manager project run + +Run the project (e.g. go run .) + +### Synopsis + +Runs the current project. Tries to detect +the language and runs accordingly (e.g. go run .) + +``` +gitlab-project-manager project run [flags] +``` + +### Options + +``` + -h, --help help for run +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager project](gitlab-project-manager_project.md) - Use a GitLab project + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/docs/gitlab-project-manager_project_show.md b/docs/gitlab-project-manager_project_show.md new file mode 100644 index 0000000..fa5831e --- /dev/null +++ b/docs/gitlab-project-manager_project_show.md @@ -0,0 +1,34 @@ +## gitlab-project-manager project show + +Show detail for a GitLab project + +### Synopsis + +Shows detail for a particular project +Will always fuzzy find + +``` +gitlab-project-manager project show [fuzzy alias search] [flags] +``` + +### Options + +``` + --current Use project in CWD rather than fuzzy find + -h, --help help for show +``` + +### Options inherited from parent commands + +``` + --config string config file (default is ~/.config/gitlab-project-manager.yaml) + --logLevel string Default log level -- info, warn, error, debug (default "info") + --projectPath string Sets a path for local clones of projects + --remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited. +``` + +### SEE ALSO + +* [gitlab-project-manager project](gitlab-project-manager_project.md) - Use a GitLab project + +###### Auto generated by spf13/cobra on 19-Dec-2024 diff --git a/go.mod b/go.mod index e3bc048..308c087 100644 --- a/go.mod +++ b/go.mod @@ -16,6 +16,11 @@ require ( gopkg.in/yaml.v3 v3.0.1 ) +require ( + github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect + github.com/russross/blackfriday/v2 v2.1.0 // indirect +) + require ( atomicgo.dev/cursor v0.2.0 // indirect atomicgo.dev/keyboard v0.2.9 // indirect diff --git a/go.sum b/go.sum index fdd319d..90f7fbe 100644 --- a/go.sum +++ b/go.sum @@ -6,12 +6,8 @@ atomicgo.dev/keyboard v0.2.9 h1:tOsIid3nlPLZ3lwgG8KZMp/SFmr7P0ssEN5JUsm78K8= atomicgo.dev/keyboard v0.2.9/go.mod h1:BC4w9g00XkxH/f1HXhW2sXmJFOCWbKn9xrOunSFtExQ= atomicgo.dev/schedule v0.1.0 h1:nTthAbhZS5YZmgYbb2+DH8uQIZcTlIrd4eYr3UQxEjs= atomicgo.dev/schedule v0.1.0/go.mod h1:xeUa3oAkiuHYh8bKiQBRojqAMq3PXXbJujjb0hw8pEU= -code.gitea.io/sdk/gitea v0.18.0 h1:+zZrwVmujIrgobt6wVBWCqITz6bn1aBjnCUHmpZrerI= -code.gitea.io/sdk/gitea v0.18.0/go.mod h1:IG9xZJoltDNeDSW0qiF2Vqx5orMWa7OhVWrjvrd5NpI= code.gitea.io/sdk/gitea v0.19.0 h1:8I6s1s4RHgzxiPHhOQdgim1RWIRcr0LVMbHBjBFXq4Y= code.gitea.io/sdk/gitea v0.19.0/go.mod h1:IG9xZJoltDNeDSW0qiF2Vqx5orMWa7OhVWrjvrd5NpI= -dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= -dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s= dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= github.com/MarvinJWendt/testza v0.1.0/go.mod h1:7AxNvlfeHP7Z/hDQ5JtE3OKYT3XFUeLCDE2DQninSqs= @@ -26,10 +22,6 @@ github.com/MarvinJWendt/testza v0.5.2/go.mod h1:xu53QFE5sCdjtMCKk8YMQ2MnymimEctc github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= -github.com/ProtonMail/go-crypto v1.0.0 h1:LRuvITjQWX+WIfr930YHG2HNfjR1uOfyf5vE0kC2U78= -github.com/ProtonMail/go-crypto v1.0.0/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= -github.com/ProtonMail/go-crypto v1.1.2 h1:A7JbD57ThNqh7XjmHE+PXpQ3Dqt3BrSAC0AL0Go3KS0= -github.com/ProtonMail/go-crypto v1.1.2/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= github.com/ProtonMail/go-crypto v1.1.3 h1:nRBOetoydLeUb4nHajyO2bKqMLfWQ/ZPwkXqXxPxCFk= github.com/ProtonMail/go-crypto v1.1.3/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= @@ -37,27 +29,13 @@ github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuW github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/atomicgo/cursor v0.0.1/go.mod h1:cBON2QmmrysudxNBFthvMtN32r3jxVRIvzkUiF/RuIk= -github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= -github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= -github.com/cloudflare/circl v1.3.8 h1:j+V8jJt09PoeMFIu2uh5JUyEaIHTXVOHslFoLNAKqwI= -github.com/cloudflare/circl v1.3.8/go.mod h1:PDRU+oXvdD7KCtgKxW95M5Z8BpSCJXQORiZFnBQS5QU= -github.com/cloudflare/circl v1.4.0 h1:BV7h5MgrktNzytKmWjpOtdYrf0lkkbF8YMlBGPhJQrY= -github.com/cloudflare/circl v1.4.0/go.mod h1:PDRU+oXvdD7KCtgKxW95M5Z8BpSCJXQORiZFnBQS5QU= github.com/cloudflare/circl v1.5.0 h1:hxIWksrX6XN5a1L2TI/h53AGPhNHoUBo+TD1ms9+pys= github.com/cloudflare/circl v1.5.0/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs= github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= github.com/containerd/console v1.0.4 h1:F2g4+oChYvBTsASRTz8NP6iIAi97J3TtSAsLbIFn4ro= github.com/containerd/console v1.0.4/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk= -github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/cyphar/filepath-securejoin v0.2.5 h1:6iR5tXJ/e6tJZzzdMc1km3Sa7RRIVBKAK32O2s7AYfo= -github.com/cyphar/filepath-securejoin v0.2.5/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= -github.com/cyphar/filepath-securejoin v0.3.2 h1:QhZu5AxQ+o1XZH0Ye05YzvJ0kAdK6VQc0z9NNMek7gc= -github.com/cyphar/filepath-securejoin v0.3.2/go.mod h1:F7i41x/9cBF7lzCrVsYs9fuzwRZm4NQsGTBdpp6mETc= -github.com/cyphar/filepath-securejoin v0.3.3 h1:lofZkCEVFIBe0KcdQOzFs8Soy9oaHOWl4gGtPI+gCFc= -github.com/cyphar/filepath-securejoin v0.3.3/go.mod h1:8s/MCNJREmFK0H02MF6Ihv1nakJe4L/w3WZLHNkvlYM= -github.com/cyphar/filepath-securejoin v0.3.4 h1:VBWugsJh2ZxJmLFSM06/0qzQyiQX2Qs0ViKrUAcqdZ8= -github.com/cyphar/filepath-securejoin v0.3.4/go.mod h1:8s/MCNJREmFK0H02MF6Ihv1nakJe4L/w3WZLHNkvlYM= github.com/cyphar/filepath-securejoin v0.3.6 h1:4d9N5ykBnSp5Xn2JkhocYDkOpURL/18CYMpo6xB9uWM= github.com/cyphar/filepath-securejoin v0.3.6/go.mod h1:Sdj7gXlvMcPZsbhwhQ33GguGLDGQL7h7bg04C/+u9jI= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -70,12 +48,10 @@ github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a h1:mATvB/9r/3gvcej github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= -github.com/fatih/color v1.14.1 h1:qfhVLaG5s+nCROl1zJsZRxFeYrHLqWroPOQ8BWiNb4w= -github.com/fatih/color v1.14.1/go.mod h1:2oHN61fhTpgcxD3TSWCgKDiH1+x4OiDVVGH8WlgGZGg= +github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= +github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= -github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= -github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/fsnotify/fsnotify v1.8.0 h1:dAwr6QBTBZIkG8roQaJjGof0pp0EeF+tNV7YBP3F/8M= github.com/fsnotify/fsnotify v1.8.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0= github.com/gdamore/encoding v1.0.0/go.mod h1:alR0ol34c49FCSBLjhosxzcPHQbf2trDkoo5dl+VrEg= @@ -90,16 +66,12 @@ github.com/go-fed/httpsig v1.1.0 h1:9M+hb0jkEICD8/cAiNqEB66R87tTINszBRTjwjQzWcI= github.com/go-fed/httpsig v1.1.0/go.mod h1:RCMrTZvN1bJYtofsG4rd5NaO5obxQ5xBkdiS7xsT7bM= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= -github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= -github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= github.com/go-git/go-billy/v5 v5.6.0 h1:w2hPNtoehvJIxR00Vb4xX94qHQi/ApZfX+nBE2Cjio8= github.com/go-git/go-billy/v5 v5.6.0/go.mod h1:sFDq7xD3fn3E0GOwUSZqHo9lrkmx8xJhA0ZrfvjBRGM= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= github.com/go-git/go-git/v5 v5.12.0 h1:7Md+ndsjrzZxbddRDZjF14qK+NN56sy6wkqaVrjZtys= github.com/go-git/go-git/v5 v5.12.0/go.mod h1:FTM9VKtnI2m65hNI/TenDDDnUf2Q9FHnXYjuz9i5OEY= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ= github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= @@ -117,15 +89,10 @@ github.com/gookit/color v1.5.4 h1:FZmqs7XOyGgCAxmWyPslpiok1k05wmY3SJTytgvYFs0= github.com/gookit/color v1.5.4/go.mod h1:pZJOeOS8DM43rXbp4AZo1n9zCU2qjpcRko0b6/QJi9w= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= -github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c= -github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= -github.com/hashicorp/go-retryablehttp v0.7.5 h1:bJj+Pj19UZMIweq/iie+1u5YCdGrnxCT9yvm0e+Nd5M= -github.com/hashicorp/go-retryablehttp v0.7.5/go.mod h1:Jy/gPYAdjqffZ/yFGCFV2doI5wjtH1ewM9u8iYVjtX8= +github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k= +github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-retryablehttp v0.7.7 h1:C8hUCYzor8PIfXHa4UrZkU4VvK8o9ISHxT2Q8+VepXU= github.com/hashicorp/go-retryablehttp v0.7.7/go.mod h1:pkQpWZeYWskR+D1tR2O5OcBFOxfA7DoAO6xtkuQnHTk= -github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= -github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= @@ -156,18 +123,15 @@ github.com/lithammer/fuzzysearch v1.1.8 h1:/HIuJnjHuXS8bKaiTMeeDlW2/AyIWk2brx1V8 github.com/lithammer/fuzzysearch v1.1.8/go.mod h1:IdqeyBClc3FFqSzYq/MXESsS4S0FsZ5ajtkr5xPLts4= github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= -github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= -github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/magiconair/properties v1.8.9 h1:nWcCbLq1N2v/cpNsy5WvQ37Fb+YElfq20WJ/a8RkpQM= github.com/magiconair/properties v1.8.9/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng= -github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U= github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc= github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= @@ -175,11 +139,8 @@ github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyua github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/nsf/termbox-go v1.1.1 h1:nksUPLCb73Q++DwbYUBEglYBRPZyoXJdrj5L+TkjyZY= github.com/nsf/termbox-go v1.1.1/go.mod h1:T0cTdVuOwf7pHQNtfhnEbzHbcNyCEcVU4YPpouCbVxo= -github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= -github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= github.com/onsi/gomega v1.34.1 h1:EUMJIKUjM8sKjYbtxQI9A4z2o+rruxnzNvpknOXie6k= -github.com/pelletier/go-toml/v2 v2.2.2 h1:aYUidT7k73Pcl9nb2gScu7NSrKCSHIDE89b3+6Wq+LM= -github.com/pelletier/go-toml/v2 v2.2.2/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs= +github.com/onsi/gomega v1.34.1/go.mod h1:kU1QgUvBDLXBJq618Xvm2LUX6rSAfRaFRTcdOeDLwwY= github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M= github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc= github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= @@ -196,8 +157,6 @@ github.com/pterm/pterm v0.12.31/go.mod h1:32ZAWZVXD7ZfG0s8qqHXePte42kdz8ECtRyEej github.com/pterm/pterm v0.12.33/go.mod h1:x+h2uL+n7CP/rel9+bImHD5lF3nM9vJj80k9ybiiTTE= github.com/pterm/pterm v0.12.36/go.mod h1:NjiL09hFhT/vWjQHSj1athJpx6H8cjpHXNAK5bUw8T8= github.com/pterm/pterm v0.12.40/go.mod h1:ffwPLwlbXxP+rxT0GsgDTzS3y3rmpAO1NMjUkGTYf8s= -github.com/pterm/pterm v0.12.79 h1:lH3yrYMhdpeqX9y5Ep1u7DejyHy7NSQg9qrBjF9dFT4= -github.com/pterm/pterm v0.12.79/go.mod h1:1v/gzOF1N0FsjbgTHZ1wVycRkKiatFvJSJC4IGaQAAo= github.com/pterm/pterm v0.12.80 h1:mM55B+GnKUnLMUSqhdINe4s6tOuVQIetQ3my8JGyAIg= github.com/pterm/pterm v0.12.80/go.mod h1:c6DeF9bSnOSeFPZlfs4ZRAFcf5SCoTwvwQ5xaKGQlHo= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -206,9 +165,8 @@ github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= +github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ= -github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= github.com/sagikazarmark/locafero v0.6.0 h1:ON7AQg37yzcRPU69mt7gwhFEBwxI6P9T4Qu3N51bwOk= github.com/sagikazarmark/locafero v0.6.0/go.mod h1:77OmuIc6VTraTXKXIs/uvUxKGUXjE1GbemJYHqdNjX0= github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= @@ -217,53 +175,31 @@ github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNX github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/skeema/knownhosts v1.2.2 h1:Iug2P4fLmDw9f41PB6thxUkNUkJzB5i+1/exaj40L3A= -github.com/skeema/knownhosts v1.2.2/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= github.com/skeema/knownhosts v1.3.0 h1:AM+y0rI04VksttfwjkSTNQorvGqmwATnvnAHpSgc0LY= github.com/skeema/knownhosts v1.3.0/go.mod h1:sPINvnADmT/qYH1kfv+ePMmOBTH6Tbl7b5LvTDjFK7M= github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8= github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY= -github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0= -github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= -github.com/spf13/cast v1.7.0 h1:ntdiHjuueXFgm5nzDRdOS4yfT43P5Fnud6DH50rz/7w= -github.com/spf13/cast v1.7.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= github.com/spf13/cast v1.7.1 h1:cuNEagBQEHWN1FnbGEjCXL2szYEXqfJPbP2HNUaca9Y= github.com/spf13/cast v1.7.1/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= -github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0= -github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho= github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.18.2 h1:LUXCnvUvSM6FXAsj6nnfc8Q2tp1dIgUfY9Kc8GsSOiQ= -github.com/spf13/viper v1.18.2/go.mod h1:EKmWIqdnk5lOcmR72yw6hS+8OPYcwD0jteitLMVB+yk= github.com/spf13/viper v1.19.0 h1:RWq5SEjt8o25SROyN3z2OrDB9l7RPd3lwTWU8EcEdcI= github.com/spf13/viper v1.19.0/go.mod h1:GQUN9bilAbhU/jgc1bKs99f/suXKeUMct8Adx5+Ntkg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= github.com/whilp/git-urls v1.0.0 h1:95f6UMWN5FKW71ECsXRUd3FVYiXdrE7aX4NZKcPmIjU= github.com/whilp/git-urls v1.0.0/go.mod h1:J16SAmobsqc3Qcy98brfl5f5+e0clUvg1krgwk/qCfE= -github.com/xanzy/go-gitlab v0.104.1 h1:g/liXIPJH0jsTwVuzTAUMiKdTf6Qup3u2XZq5Rp90Wc= -github.com/xanzy/go-gitlab v0.104.1/go.mod h1:ETg8tcj4OhrB84UEgeE8dSuV/0h4BBL1uOV/qK0vlyI= -github.com/xanzy/go-gitlab v0.109.0 h1:RcRme5w8VpLXTSTTMZdVoQWY37qTJWg+gwdQl4aAttE= -github.com/xanzy/go-gitlab v0.109.0/go.mod h1:wKNKh3GkYDMOsGmnfuX+ITCmDuSDWFO0G+C4AygL9RY= -github.com/xanzy/go-gitlab v0.113.0 h1:v5O4R+YZbJGxKqa9iIZxjMyeKkMKBN8P6sZsNl+YckM= -github.com/xanzy/go-gitlab v0.113.0/go.mod h1:wKNKh3GkYDMOsGmnfuX+ITCmDuSDWFO0G+C4AygL9RY= github.com/xanzy/go-gitlab v0.115.0 h1:6DmtItNcVe+At/liXSgfE/DZNZrGfalQmBRmOcJjOn8= github.com/xanzy/go-gitlab v0.115.0/go.mod h1:5XCDtM7AM6WMKmfDdOiEpyRWUqui2iS9ILfvCZ2gJ5M= github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= @@ -279,22 +215,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= -golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= -golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= -golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A= -golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70= -golang.org/x/crypto v0.29.0 h1:L5SG1JTTXupVV3n6sUqMTeWbjAyfPwoda2DLX8J8FrQ= -golang.org/x/crypto v0.29.0/go.mod h1:+F4F4N5hv6v38hfeYwTdx20oUvLLc+QfrE9Ax9HtgRg= golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= -golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 h1:vr/HnozRka3pE4EsMEg1lgkXJkTFJCVUX+S/ZT6wYzM= -golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842/go.mod h1:XtvwrStGgqGPLc4cjQfWqZHG1YFdYs6swckp8vpsjnc= -golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 h1:e66Fs6Z+fZTbFBAxKfP3PALWBtpfqks2bwGcexMxgtk= -golang.org/x/exp v0.0.0-20240909161429-701f63a606c0/go.mod h1:2TbTHSBQa924w8M6Xs1QcRcFwyucIwBGpK1p2f1YFFY= -golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f h1:XdNn9LlyWAhLVp6P/i8QYBW+hlyhrhei9uErw2B5GJo= -golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f/go.mod h1:D5SMRVC3C2/4+F/DB1wZsLRnSNimn2Sp/NPsCrsv8ak= golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 h1:1UoZQm6f0P/ZO0w1Ri+f+ifG/gXhegadRdwBIXEFWDo= golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67/go.mod h1:qj5a5QZpwLU2NLQudwIN5koi3beDhSAlJwa67PuM98c= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= @@ -304,21 +226,9 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= -golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= -golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= -golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo= -golang.org/x/net v0.31.0/go.mod h1:P4fl1q7dY2hnZFxEk4pPSkDHF+QqjitcnDjUQyMM+pM= golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I= golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= -golang.org/x/oauth2 v0.20.0 h1:4mQdhULixXKP1rwYBW0vAijoXnkTG0BLCDRzfe1idMo= -golang.org/x/oauth2 v0.20.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= -golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs= -golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/oauth2 v0.24.0 h1:KTBBxWqUa0ykRPLtV69rRto9TLXcqYkeswu48x/gvNE= golang.org/x/oauth2 v0.24.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -338,56 +248,27 @@ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= -golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s= -golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw= -golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= -golang.org/x/term v0.24.0 h1:Mh5cbb+Zk2hqqXNO7S1iTjEphVL+jb8ZWaqh/g+JWkM= -golang.org/x/term v0.24.0/go.mod h1:lOBK/LVxemqiMij05LGJ0tzNr8xlmwBRJ81PX6wVLH8= -golang.org/x/term v0.26.0 h1:WEQa6V3Gja/BhNxg540hBip/kkaYtRg3cxg4oXSw4AU= -golang.org/x/term v0.26.0/go.mod h1:Si5m1o57C5nBNQo5z1iq+XDijt21BDBDp2bK0QI8e3E= golang.org/x/term v0.27.0 h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q= golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= -golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug= -golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4= golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= -golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= -golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= -golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U= -golang.org/x/time v0.6.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/time v0.8.0 h1:9i3RxcPv3PZnitoVGMPDKZSq1xW1gK1Xy3ArNOGZfEg= golang.org/x/time v0.8.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=