informalsystems/themis-contract

themis-contract new [path/to/template.md]

Opened this issue · 2 comments

themis-contract new [path/to/template.md]

@zramsay Could you describe the desired behavior from this feature? I think this issue will be very cryptic to anyone who wasn't in our meeting mast week.

The current workflow and design of themis assumes an existing template.md is available as a remote. I.e., themis-contract new expects a remote as argument to generate the contract.dhall

This design makes sense for an established contracting framework/flow. When starting afresh, no remote exists ... the user is either writing a markdown file from scratch or importing it from a different format. There is therefore no convenient way to generate a contract.dhall file. The functionality is identical to the claw new link minus the directory creating.