flarum / cli

A CLI helper for developing Flarum extensions.
MIT License
39 stars 2 forks source link

fl [COMMAND] doesn't respond on Powershell. #15

Open EvilExecutor opened 3 years ago

EvilExecutor commented 3 years ago

Problem:

I installed flarum-cli everything works fine when I run flarum-cli COMMAND but fl COMMAND doesn't do anything...

Image explaining the problem:

Environment:

Notes: I'm not sure whether this is a bug or installation/configuration fault.

EvilExecutor commented 3 years ago

So I thought something was some problem with Tabby (Terminal Emulator I'm using) and luckily tried fl [CMD] on Command Prompt. Then it did respond.

Then I tried running fl [CMD] PowerShell once again there was no response. So I'm guessing it is caused only on PowerShell.

askvortsov1 commented 3 years ago

Odd, these are registered via the same mechanism: https://github.com/flarum/flarum-cli/blob/5351123f55d6d82eaabb508dd537cb7bf628129c/package.json#L6-L9

Is this an issue on Git Bash?

EvilExecutor commented 3 years ago

Works fine in Git bash for me...

Also see - https://discuss.flarum.org/d/28427-flarum-cli-v10/18