Estimated Reading Time: 1 minutes|Last Updated: 11/19/2021, 7:57:43 AM

# Create Http-var

# usage

Usage: oredge http-var create [http] [OPTIONS]

OPTIONS:
    --http integer                     http id.
    --name string                      name.
    --default bool                     default.
    --type string                      string, enum, num, int, bool.
    --value string                     enum value, can add multiple times.
    --gid integer                      user group id.

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

# example

  1. create http variable.
# oredge http-var create 892 --name a --type string
ID: 892-65