Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLI] generateText should not need to quote the output #420

Closed
jeromesimeon opened this issue Sep 24, 2019 · 0 comments
Closed

[CLI] generateText should not need to quote the output #420

jeromesimeon opened this issue Sep 24, 2019 · 0 comments

Comments

@jeromesimeon
Copy link
Member

The current generateText command in the CLI quotes the output:

bash-3.2$ cicero parse --out data.json
14:26:31 - info: Using current directory as template folder
14:26:31 - info: Loading a default sample.txt file.
14:26:32 - info: Creating file: data.json
14:26:32 - info:
{
  "$class": "org.accordproject.helloworld.HelloWorldClause",
  "clauseId": "25f56fea-535e-4a2d-add4-a64e5f868d5b",
  "name": "Fred Blogs"
}
bash-3.2$ cicero generateText --data data.json
14:26:40 - info: Using current directory as template folder
14:26:40 - info:
"Name of the person to greet: "Fred Blogs".
Thank you!"

It would look nicer it was not quoted:

bash-3.2$ cicero parse --out data.json
14:26:31 - info: Using current directory as template folder
14:26:31 - info: Loading a default sample.txt file.
14:26:32 - info: Creating file: data.json
14:26:32 - info:
{
  "$class": "org.accordproject.helloworld.HelloWorldClause",
  "clauseId": "25f56fea-535e-4a2d-add4-a64e5f868d5b",
  "name": "Fred Blogs"
}
bash-3.2$ cicero generateText --data data.json
14:26:40 - info: Using current directory as template folder
14:26:40 - info:
Name of the person to greet: "Fred Blogs".
Thank you!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant