Skip to content

Commit

Permalink
Merge pull request #11 from Nasfame/hiro-fixes/lilypad
Browse files Browse the repository at this point in the history
doc/fixes:  create lilypad modules
  • Loading branch information
lukemarsden authored Oct 20, 2023
2 parents e52556d + 83c1a4f commit 9613318
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ hardhat/typechain-types
.env
*.env
ops/testnet/.terraform/providers
.idea/
.vscode/
.run/
bin/
vendor/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ In your repo, create a file called `lilypad_module.json.tmpl`

See [cowsay](https://github.com/bacalhau-project/lilypad-module-cowsay) for example

This is a json template with Go text/template style `{{.Message}}` sections which will be replaced by Lilypad with valid JSON strings which are passed as input to modules. You can also do fancy things with go templates like setting defaults, see cowsay for example. While developing a module, you can use the git hash to test it.
This is a json template with Go text/template style `{{.Message}}` sections which will be replaced by Lilypad with json encoded inputs to modules. You can also do fancy things with go templates like setting defaults, see cowsay for example. While developing a module, you can use the git hash to test it.

Pass inputs as:

Expand Down

0 comments on commit 9613318

Please sign in to comment.