Line Tool This is a simple command line tool that supports the following commands:
- hello: prints a greeting message
- bye: prints a farewell message
To run the tool, use the go run command and specify the command and any additional arguments. For example:
go run main.go hello arg1 arg2 arg3
This will execute the hello command and pass arg1, arg2, and arg3 as arguments to the command.
hello
Prints a greeting message to the console.
Hello, world!
Arguments This command supports additional arguments. If specified, they will be printed along with the greeting message.
bye
Prints a farewell message to the console.