ube icon indicating copy to clipboard operation
ube copied to clipboard

Add flag arguments

Open ramirezfernando opened this issue 1 year ago • 0 comments

Problem

As of right now, there are no flag arguments. Here is what Ube will currently output when running the command ube:

2024/04/22 19:17:11 FATA Usage: ube <folder>

Task

When running the command ube, the output should look like this:

USAGE:
    ube [FLAGS] [ARGS]

FLAGS:
    -h, --help                Prints help information
    -v, --version             Prints version information

ARGS:
    <input>    The path to the file or directory to be counted.

Running ube -h or ube --help should also produce the same output as above.

Running ube -v or ube --version should output:

ube version X

Where X is the version of the Ube executable a user has e.g. 2.0.0, 1.0.1, etc.

Pointers

ramirezfernando avatar Apr 23 '24 01:04 ramirezfernando