-
Notifications
You must be signed in to change notification settings - Fork 25
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
consider changing the binary name? #61
Comments
(Cc @anton-trunov who, if I understand correctly, proposed to export |
I don't have a strong opinion as the binary was only introduced to simplify testing the library. No standalone usage was intended. The naming conflict isn't a big deal because these moustacho binaries seem to be interchangeable. However, one advantage of picking silly name like mustacheo is that we can pick a package name that matches it for the binary. |
|
We didn't manage to get much feedback on this issue, but I would still be in favor of |
Didn't you learned yet ? Innocuous usage of french is endearing. ;) Just use |
I was going to say that I like |
(why not just |
I think |
resolves rgrinberg#61 Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
Currently
mustache_cli.ml
is installed as amustache
binary in the user PATH. This is a natural choice that is easy for users to guess, but it has the downside of conflicting with the binary name chosen by... any other Mustache implementation. For example, the original implementation in Ruby provides the mustache(1) command that is easy to find over the net. If you rungem install mustache
, it installs a Ruby library and also amustache
binary. (When trying to compare the behavior of the two tools, I would keep uninstalling and reinstalling the Ruby tool to avoid name conflicts.)Should one consider changing the name of the OCaml tool to avoid naming conflicts with other implementations? I'm not saying that the name should change, but I'm creating this issue to get an idea of what people (and in particular @rgrinberg) think.
Naming conflicts are maybe not much of an issue, given that most users are going to use just one tool anyway. But some systems/distributions want to avoid conflicts globally; if someone someday decided to package
ocaml-mustache
for Debian, then the naming clash would be an annoying issue to deal with.My only idea for an alternative name would be
mustacho
, which sounds somewhat like a contraction of "mustache in OCaml", and is an alternative spelling for "mustache" in some languages (in English it exists, but "mustachio" is more commonly used; it exists in some variants of Spanish but "mostacho" is more common, etc.). (I'm afraid that camels don't have mustaches; search for this on the web led me to the Mustache Contest at the Pushkar Camel Fair, which does not bring any clear name suggestion.)The text was updated successfully, but these errors were encountered: