-
Notifications
You must be signed in to change notification settings - Fork 6
Home
John edited this page Nov 30, 2024
·
4 revisions
The Console component eases the creation of beautiful and command line interfaces.
GoConsole component allows you to create command-line commands. Your console commands can be used for any recurring task, such as cronjobs, imports, or other batch jobs. Command arguments and options follow the docopt standard. This library provide several helper for styling of the command's output.
GoConsole is a lightweight equivalent in Go to the Console Component 3.4 of Symfony PHP framework.
go get github.com/DrSmithFr/go-console
GoConsole: New Update! thanks all of you for your advice and your help. I have updated the library to be more flexible and more powerful. I have also added a lot of new features.
- Adding a parser for JSON, Map, Struct and List to easily display data in a table
- Adding a wrapper called go_console.Command to manage multiple go_console.Scripts
- Automated generation of help messages for both the wrapper and scripts
- Adding better validation of user input
- Constants are now all in Pascal case
- go_console.Script now implements the io.Writer interface
- Capability to configure via Type or fluent setter I'm particularly excited about the new wrapper, which provides more flexibility for managing multiple scripts. Additionally, the automated help message generation will make it easier for developers to understand how to use GoConsole. I'm grateful for the feedback and support of the Go community, and I hope these changes make GoConsole an even more useful tool for everyone. You can find the updated code on the project's GitHub repository: https://github.com/DrSmithFr/go-console. Thank you again for your help and support!"