Stillat / vscode-antlers-language-server

Provides rich language features for Statamic's Antlers templating language, including code completions, syntax highlighting, and more.
https://antlers.dev
MIT License
36 stars 3 forks source link

Formatting CLI: Nothing happens #25

Closed marcorieser closed 2 years ago

marcorieser commented 2 years ago

If I run antlersformat format --f="/Users/marco/localweb/statamic-firefly/resources/views/home.antlers.html" or even antlersformat format --f="/Users/marco/localweb/statamic-firefly/resources/views/home.antlers.html" --dd nothing happens.

Node: v17.1.0 NPM: 8.3.0

Am I doing something wrong?

JohnathonKoster commented 2 years ago

Hi there! I'll check into the --f option later this evening my time, but in the meantime you can use the simpler version that does not require also managing the output path:

antlersformat format "path/here/without/switch"

The --dd option can also be used with this version.

JohnathonKoster commented 2 years ago

Resolved with CLI version 1.0.12