ordinary-templates-add(1)

NAME
ordinary-templates-add - add a new template to the Ordinary project

SYNOPSIS
ordinary templates add [-e|--error] [-p|--project] [--api-domain] [--insecure] [--danger-accept-invalid-certs] [-v|--verbose]... [-q|--quiet]... [--pretty] [-h|--help] [-V|--version] <NAME> <ROUTE> <MIME>

DESCRIPTION
add a new template to the Ordinary project

OPTIONS

-e, --error <ERROR>
    whether the template is an error template
    Possible values:

    •   true

    •   false

-p, --project <PROJECT> [default: .]
    project path

--api-domain <API_DOMAIN>
    should only be necessary with localhost or when addressing by IP

--insecure
    use HTTP instead of HTTPS

--danger-accept-invalid-certs
    DANGER: only use when working with self-signed localhost certs

-v, --verbose
    Increase logging verbosity

-q, --quiet
    Decrease logging verbosity

--pretty
    whether to pretty print events to stdio

-h, --help
    Print help

-V, --version
    Print version

<NAME>
    template name

<ROUTE>
    HTTP route (must start with leading "/")

<MIME>
    MIME type for template output: [reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/MIME_types/Common_types)

VERSION
v0.8.3