-
Notifications
You must be signed in to change notification settings - Fork 82
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
shorter command names? (ngxensite / ngxdissite) #15
Comments
@Fedcomp Nice catch about the names. It would be nice to see something like |
for my use in production, i already changed the name to ngensite/ngdissite, and it seems works without issues. |
@Fedcomp It's because of action matching string:
https://github.com/perusio/nginx_ensite/blob/master/bin/nginx_ensite#L75 So, any command name that contains |
yeah i saw that. I would like however if it would be changed officially, or at least add additional symlinks. |
@Fedcomp Sure. |
For example apache a2ensite is much shorter than nginx_ensite.
When i tried to change it manually (mv nginx_ensite ngxensite) i realized dissite is just a symlink and it's all hardcoded into one script.
So how about shorter command names? apache commands is really good because they are short, i see no reason to make long nginx_ensite, because this script mimics apache version (and apache commands are not intuitive in names), so it should be short as well, and not neccessary intuitive.
Or as compatibility support both variants.
The text was updated successfully, but these errors were encountered: