# Modify Lua-extension

# usage

Usage: oredge lua-extension modify [id] [OPTIONS]

OPTIONS:
    --id integer                       id.
    --name string                      name.
    --code string                      code.
    --trigger-type string              cron(default) or event.
    --interval integer                 30(default).
    --event-type string                node_offline, node_online, release.

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

# example

  1. modify lua extension.
# oredge lua-extension modify 1 --name test --trigger-type event --event-type node_offline
OK