Open almereyda opened 1 year ago
This is caused by the init.ts
script registering lume
as a task in deno.json
, as opposed to creating an executable in some directory on your $PATH
. E.g. assuming you have $HOME/.local/bin
on your $PATH
then you could create ~/.local/bin/lume
with:
deno run -A https://deno.land/x/lume@v1.18.1/cli.ts "$@"
(and mark it as executable with chmod +x ~/.local/bin/lume
) which would let you run lume
in any directory.
The disadvantage of this approach is that then:
deno.json
they might end up using a different lume version than you, if you use your own executable
Enter your suggestions in details:
In trying to wrap my head around using the Lume CLI
232
34
I am trying to get help by the CLI about how it can be used, but it always complains, because I'm not in a project directory.
I should be able to get help, also when I'm not in a project directory.