Closed Termina1 closed 9 years ago
Hey @Termina1, thanks for bringing this up.
Could you help me compile a list of possible resolution ideas?
I think unless you want to change fly's CLI or convince @pstadler to change flightplan's CLI, you should just add information to readme and a workaround.
But a workaround doesn't come to mind, may be something with npm scripts could do the trick?
I understand. This should definitely go into the Wiki, under caveats or similar. I will be adding this later.
I would like to point out that fly
's original theme is that of the insect, but that does not change the fact that both CLI use the same name. I wonder what other tools out there are also named fly
.
Addressed in the Wiki, under caveats. Thanks
Most importantly, this means that you can't have both installed globally.
Hey @mik01aj
this means that you can't have both installed globally.
Correct. I have node_modules/.bin
on my $PATH
so fly
only works from inside the directory in which I have run npm i fly
. However, I am sure some people would prefer to have their utilities globally installed.
bin/index.js
to a another name fyl
, fl
, fy
, etc.package.json
that symlinks this out of the box so you can do npm run symlink2
.fly
package in the npm registry so having you first npm i fly
and then run Fly with a name other than fly
would be amusing at best though :stuck_out_tongue_winking_eye: On a different note though. I wonder how challenging it would be to write a Flightplan for Fly or viceversa and starting a collaboration effort between both projects. :fireworks:
There is a https://github.com/pstadler/flightplan package. And it's CLI is also uses fly as a bin name.