Skip to content

Files

Latest commit

 

History

History

CLI_APP_Example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

USAGE.PNG

Command

Line Tool This is a simple command line tool that supports the following commands:

  • hello: prints a greeting message
  • bye: prints a farewell message

Usage

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.

Commands

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.