excubo-ag / WebCompiler

Apache License 2.0
151 stars 30 forks source link

unknown command #27

Closed mshakurov closed 3 years ago

mshakurov commented 3 years ago

run webcompile from console or MSBuild Task:

dotnet tool run webcompiler -r themes -o wwwroot/css -z disable -m disable -p disable

result: exit code: 1 messages:

unknown command or argument "-r"
unknown command or argument "themes"
unknown command or argument "-o"
unknown command or argument "wwwroot/css"

... etc.

what I do wrong?

stefanloerwald commented 3 years ago

Hi @mshakurov

I don't know what's going wrong there, because the following works perfectly fine for me:

dotnet new tool-manifest
dotnet tool install Excubo.WebCompiler
mkdir themes
dotnet tool run webcompiler -r themes -o css -z disable -m disable -p disable

So this isn't an issue with webcompiler, as far as I can see. Maybe you're using a shell that is misbehaving? The above I've tried with Powershell on Windows 10.

Stefan