projectfluent / fluent-rs

Rust implementation of Project Fluent
https://projectfluent.org
Apache License 2.0
1.07k stars 96 forks source link

CLI resolver has no documentation #140

Open alerque opened 4 years ago

alerque commented 4 years ago

As I posted on discourse I'm looking for a basic CLI to query a message from *.ftl files. I finally figured out how to at least compile the parser and resolver binaries. The former was somewhat self-explanitory as it responded to a --help flag, and seems to do what it says on the tin. Pass it a single argument of at FTL file name and get an parsed AST representation back on STDOUT. Okay, but what do I do with resolver? It doesn't show any help messages, clearly is waiting for something on STDIN, but crashes no matter what I pass it.

zbraniecki commented 4 years ago

yeah, the cli tooling is in a very 0.0.1 stage :) I just didn't have time to put work into it yet.