{"repo":"deniskorbakov/skeleton-cli-go","free":true,"listed":false,"github":"https://github.com/deniskorbakov/skeleton-cli-go","clone":"git clone https://github.com/deniskorbakov/skeleton-cli-go.git","description":"🦴 This template is for creating TUI CLI on Go","language":"Go","stars":11,"topics":["cli","go","skeleton","template","tui"],"license":"MIT","category":"cli-tools","readme_excerpt":"Skeleton CLI GO A template for creating console applications on go using TUI Made using data from packages: Cobra - Library for creating powerful modern CLI applications Fang - The CLI starter kit Huh - A simple interactive forms and prompts in the terminal What do you get: ✨ Install clone the repository go to the project folder build the app launch the app 📖 Examples & Usage ↘️ Replace In order to reuse the project for your application, you need to replace the following items Change the path to the cli to the name of your utility cmd/cli - cmd/your name cli In the .goreleaser.yaml file, you need to change the name of the cli to your utility Change the application name in the Makefile Change the application description in the root command - configs/constname/root.go ⌨️ Command Commands are created in the directory - internal/command We are creating a file based on the example of the file - internal/command/example.go After creation, add the command to internal/command/root.go ⚙️ Configs configs/constname - This directory contains files for the names of commands, their descriptions, etc. You can add or change team data in this space 🗯️ Components The components use huh The components in the application are located here - internal/component These components can be either a form or a separate element of it - further logic depends on your needs I described the standard example in the file - internal/component/form We divide the logic into the form itself and what it outputs in ","default_branch":null,"files":null,"tree":[],"storefront":"/r/deniskorbakov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/deniskorbakov/skeleton-cli-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}