cli icon indicating copy to clipboard operation
cli copied to clipboard

fl [COMMAND] doesn't respond on Powershell.

Open EvilExecutor opened this issue 4 years ago • 3 comments

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:

  • Windows 11
  • PowerShell
  • Node v14.17.2
  • NPM v7.20.5
  • Flarum CLI v1.0.0

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

EvilExecutor avatar Aug 10 '21 12:08 EvilExecutor

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.

EvilExecutor avatar Aug 10 '21 18:08 EvilExecutor

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?

askvortsov1 avatar Aug 25 '21 19:08 askvortsov1

Works fine in Git bash for me...

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

EvilExecutor avatar Sep 03 '21 10:09 EvilExecutor