Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

GMod

Usage: ds-mod <COMMAND>

Commands:
  example   
  new       define new module spec eg: ds-mod def new --name mod_name
  update    module spec update ref,depends
  localize  localize modules spec
  help      Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version
├── _gal
│   ├── adm.gxl
│   └── work.gxl
├── mod
│   ├── arm-mac14-host
│   │   ├── _gal
│   │   │   └── work.gxl
│   │   ├── spec
│   │   │   ├── artifact.yml
│   │   │   ├── depends.yml
│   │   │   ├── logs.yml
│   │   │   └── res.yml
│   │   ├── values
│   │   │   └── value.yml
│   │   ├── vars.yml
│   │   └── workflows
│   │       ├── setup.gxl
│   │       └── update.gxl
│   └── x86-ubt22-k8s
│       ├── _gal
│       │   └── work.gxl
│       ├── spec
│       │   ├── artifact.yml
│       │   ├── depends.yml
│       │   ├── logs.yml
│       │   └── res.yml
│       ├── values
│       │   └── value.yml
│       ├── vars.yml
│       └── workflows
│           ├── setup.gxl
│           └── update.gxl
├── mod_prj.yml
└── version.txt

setting.yml

localize:
  templatize_path:
    excludes:
    - spec/confs/templates
  templatize_cust:
    label_beg: '[['
    label_end: ']]'

templatize_path

  • includes : 包含的目录, 默认为spec目录
  • excludes : 排除的目录

templatize_cust

  • label_beg : 模板标签开始, 默认为'{{'
  • label_end : 模板标签结束, 默认为'}}'