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

Suggestion: shorter programme name in command line #22

Open
Badboy-16 opened this issue May 30, 2021 · 1 comment
Open

Suggestion: shorter programme name in command line #22

Badboy-16 opened this issue May 30, 2021 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@Badboy-16
Copy link
Contributor

It's such a pleasure to use and work on this amazing project and thanks @ibLeDy for your work. 🎉

Just a suggested change from my experience of working on this project.

I sometimes find the programme name (timezone-converter) too long to type in the command line when testing my PR or running the programme. It would be nice to use a shorter name like tz-conv or tz-convert (can be anything). The current repo name can still remain unchanged.

For example, timezone-converter --list can possibly be tz-conv --list

@ibLeDy
Copy link
Owner

ibLeDy commented May 30, 2021

Thank you for your kind words!

I have thought exactly the same a couple of times, and sometimes I wonder if adding an extra, shorter entry point would be a good option (it would be easy, we just need to add a line here).

However, I always end up with the feeling that it is not the best option, as the user can easily create an alias. For example, in Unix-based systems, the user would add a line like this one to it's shell config file:

alias tz-conv="timezone-converter"

In Windows it is a bit different, but it can be done

With that said, I don't think it would hurt to add the entry point (the tough part is the naming, as always).

@ibLeDy ibLeDy added enhancement New feature or request question Further information is requested labels May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants