broccoli-cli 0.1.2

CLI for scaffolding and building Broccoli plugins
Documentation
1
2
3
4
5
6
7
8
9
10
11
12

[server]
entry = "{{plugin_name_snake}}.wasm"
permissions = ["logger", "plugin:register"]

# Custom API routes exposed by this plugin.
# Each route maps an HTTP method and path to a handler function in the WASM module.
# [[server.routes]]
# method = "GET"
# path = "/api/plugins/{{plugin_name}}/hello"
# handler = "api_hello"
# permission = "{{plugin_name_snake}}:read"    # omit for public routes