Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag arguments #2

Open
ramirezfernando opened this issue Apr 23, 2024 · 0 comments
Open

Add flag arguments #2

ramirezfernando opened this issue Apr 23, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ramirezfernando
Copy link
Owner

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 ramirezfernando added enhancement New feature or request good first issue Good for newcomers labels Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant