Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devenes/cli-world
A simple CLI application with cobra.
https://github.com/devenes/cli-world
cli cobra-cli github-actions go go-release homebrew
Last synced: about 1 month ago
JSON representation
A simple CLI application with cobra.
- Host: GitHub
- URL: https://github.com/devenes/cli-world
- Owner: devenes
- License: apache-2.0
- Created: 2022-08-02T20:44:48.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-02T22:56:44.000Z (over 2 years ago)
- Last Synced: 2024-09-30T23:41:55.481Z (about 2 months ago)
- Topics: cli, cobra-cli, github-actions, go, go-release, homebrew
- Language: Go
- Homepage:
- Size: 154 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Cobra CLI
About |
Technologies |
Requirements |
Starting |
Resources |
License |
Author
## :dart: About
A simple CLI application with cobra.
## :rocket: Technologies
The following tools were used in this project:
- [GoLang](https://golang.org/): The language used in this project.
- [Cobra-cli](https://github.com/spf13/cobra): The CLI framework used in this project.## :white_check_mark: Requirements
Before starting :checkered_flag:, you need to have [Git](https://git-scm.com), [GoLang](https://golang.org) and [Cobra-cli](https://github.com/spf13/cobra) installed.
## :checkered_flag: Starting
```bash
# Clone this project
git clone https://github.com/devenes/cli-world# Access the project
cd cli-world# Install Cobra-cli
go get -u github.com/spf13/cobra@latest# Run the project
go run main.go
go run main.go -h
go run main.go -o
```### Tag your release
```bash
git tag -a v0.0.1 -m "First release"
git push origin v0.0.1
```## :books: Resources
- [Homebrew](https://goreleaser.com/customization/homebrew/?h=homebrew)
- [Checksum](https://goreleaser.com/customization/checksum/?h=check)
- [Universal Binaries](https://goreleaser.com/customization/universalbinaries/?h=universal_binaries)
- [Release](https://goreleaser.com/customization/release/?h=release)
- [Build](https://goreleaser.com/customization/build/)
- [Cobra Cli](https://github.com/spf13/cobra)
- [Cobra Cli](https://youtu.be/IOVBSVox1lM)## :memo: License
This project is under license from Apache. For more details, see the [LICENSE](LICENSE) file.
Made with :heart: by Devenes