cli icon indicating copy to clipboard operation
cli copied to clipboard

feat: Supports using Python language to extend PPE language instructions.

Open snowyu opened this issue 1 year ago • 0 comments

Inline python function to extend instruction:

- !fn |-
    [python] def add(a,b):
      return a+b
- $add(1,2)

Import python functions from file:

---
import: "./my.py"
---
- $add(1,2)
# my.py
def add(a,b):
  return a+b

snowyu avatar Sep 17 '24 01:09 snowyu