cobra-cli icon indicating copy to clipboard operation
cobra-cli copied to clipboard

Cobra CLI tool to generate applications and commands

Results 48 cobra-cli issues
Sort by recently updated
recently updated
newest added

In the CMD of windows, {'configCmd'.AddCommand (createCmd)} is generated using {cobra-cli add create -p 'configCmd'}. But using {cobra-cli add create -p "configCmd"} works.

_This is transfer of @fanux's https://github.com/spf13/cobra/issues/1059 as suggested there by @johnSchnake_ ---- ``` ➜ app cobra add create create created at /Users/fanux/work/src/app/cmd/create.go ➜ app cobra add user -p create user...

I understand the filename is being camel-cased for a reason, but can't the command name still have the hyphen in the name? `cobra-cli add hello-world`, makes the file named helloWorld...

GitHub now supports creating files like LICENSE for newly created repos. Running `cobra-cli init` after cloning a newly created repo will now empty that existing license.

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.6.1 to 1.8.0. Release notes Sourced from github.com/spf13/cobra's releases. v1.8.0 ✨ Features Support usage as plugin for tools like kubectl by @​nirs in spf13/cobra#2018 - this means...

dependencies
go

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 4.1.1. Release notes Sourced from actions/checkout's releases. v4.1.1 What's Changed Update CODEOWNERS to Launch team by @​joshmgross in actions/checkout#1510 Correct link to GitHub Docs by...

dependencies
github_actions

This adds the functionality in order to define a custom template per-project in order to allow modifications and expansions to the default cobra CLI functionality. Resolves #83

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.12.0 to 1.17.0. Release notes Sourced from github.com/spf13/viper's releases. v1.17.0 Major changes Highlighting some of the changes for better visibility. Please share your feedback in the Discussion...

dependencies
go

Resolves [spf13/cobra-cli#26](https://github.com/spf13/cobra-cli/issues/26) Running `cobra-cli init...` in a module that is part of a go workspace fails because of a JSON parsing error. The error is the result of expecting a...

e.g: run cobra-cli add get, it will generate cmd/get.go run cobra-cli add config, it will generate cmd/config.go run cobra-cli add get -p 'configCmd', it will also generate cmd/get.go the thrid...