exportAsYaml

spectools exportAsYaml #

Exports all specs and the current config in one yaml file to stdout

Synopsis #

Use this for your chain of generators…

You will get a yaml with all types and services and the config. Feel free to add custom sections in the config to use them in custom commands or scripts.

services:
   your.Service: ...
types:
   your.type: ...
config:
   module: mod
   custom:
      remoteDir: "path/to/somewhere"
      otherCustomSetting: true
spectools exportAsYaml [flags]

Options #

  -f, --full   Include the ast info
  -h, --help   help for exportAsYaml

Options inherited from parent commands #

      --config string   config file (default is CWD/.spectools.yaml)

SEE ALSO #

Auto generated by spf13/cobra on 23-Oct-2020 #