path: root/ftt-codegen
AgeCommit message (Collapse)AuthorFilesLines
2019-07-23fcc-codegen: allow '--' in "markdown" argumentTyler Cipriani1-10/+20
By Using the PARSER (i.e., "A...") argument for nargs, '--' becomes an allowed value in the argument list. This should resolve the TODO comment in the file. There is a test funciton in this file as well (I wasn't sure where to put the test, but it's working).
2019-06-23Add: ftt-codegen --run optionLars Wirzenius1-12/+44
2019-06-23Change: ftt-codegen command line syntaxLars Wirzenius1-11/+17
Filename other than markdown files are now inferred.
2019-06-22Fix: add missing "import logging" to generated programLars Wirzenius1-1/+1
2019-06-16Change: make generated test program more convenientLars Wirzenius1-4/+7
Also, the jt fable now works, against my locally modified version of jt (soon to be pushed to The generated program now has options --tempdir (default is something in /tmp). If --tempdir is used, it doesn't removed at the end. Each scenario gets a temporary directory created under the temporary directory. The generated program also has the options --log for specifying a log file, and --scenario to specify which scenarios to run (use once per scenario).
2019-06-16Fix: encode args as JSON, to get around difficult chars in capturesLars Wirzenius1-5/+5
2019-06-02Add: scaffolding for running scenariosLars Wirzenius1-4/+10
2019-06-01Add: a second scenarioLars Wirzenius1-3/+5
2019-06-01Add: prototype code generator, with echo exampleLars Wirzenius1-0/+154