greymatter

greymatter is the base command for performing operations on the Grey Matter Service Mesh.

Child Commands

Command

Description

list

list all of a particular object in the Grey Matter API

get

retrieve an object from the Grey Matter API

create

create an object within Grey Matter API

edit

edit an object from Grey Matter API

delete

delete an object from Grey Matter API

Help

To list available commands, either run greymatter with no parameters or with the global help flag, greymatter --help:

$ greymatter --help
NAME
    greymatter - Command line tool for interacting with the Grey Matter API

USAGE
    greymatter [GLOBAL OPTIONS] <command> [COMMAND OPTIONS] [arguments...]

VERSION
    v1.2.1

COMMANDS
    list    list all of a particular object in the Grey Matter API

    get     retrieve an object from the Grey Matter API

    create  create an object within the Grey Matter API

    edit    edit an object from the Grey Matter API

    delete  delete an object from the Grey Matter API

    export-zone
            export a Zone from the Grey Matter API

    import-zone
            import a Zone to the Grey Matter API

GLOBAL OPTIONS
    --api.header=header
            Specifies a custom header to send with every API request. Headers are given as
            name:value pairs. Leading and trailing whitespace will be stripped from the
            name and value. For multiple headers, this flag may be repeated or multiple
            headers can be delimited with commas.

    --api.host=host:port
            (default: localhost:80)
            The address (host:port) for API requests. If no port is given, it defaults to
            port 443 if --api.ssl is true and port 80 otherwise.

    --api.insecure
            (default: false)
            If true, don't validate server cert when using SSL for API requests

    --api.key=string
            (default: "none")
            [SENSITIVE] The auth key for API requests

    --api.prefix=value
            The url prefix for API requests. Forms the path part of <host>:<port><path>

    --api.ssl
            (default: true)
            If true, use SSL for API requests

    --api.sslCert=value
            Specifies the SSL cert to use for every API request.

    --api.sslKey=value
            Specifies the SSL key to use for every API request.

    --console.level=level
            (default: "info")
            (valid values: "debug", "info", "error", or "none")
            Selects the log level for console logs messages.

    --format=string
            (default: "json")
            The I/O format (json or yaml)

    --help  (default: false)
            Show a list of commands or help for one command

    --version
            (default: false)
            Print the version and exit

    Global options can also be configured via upper-case, underscore-delimited environment
    variables prefixed with "GREYMATTER_". For example, "--some-flag" becomes
    "GREYMATTER_SOME_FLAG". Command-line flags take precedence over environment variables.

Run "greymatter help <command>" for more details on a specific command.

Questions?

Last updated

Was this helpful?