# How to use
# update:command:data --directory="/path/to/drupal-project/"
command:
  name: update:command:data
  description: 'Update gitbook'
commands:
  - command: settings:set
    arguments:
      name: language
      value: ca
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/ca.json'
  - command: settings:set
    arguments:
      name: language
      value: en
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/en.json'
  - command: settings:set
    arguments:
      name: language
      value: es
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/es.json'
  - command: settings:set
    arguments:
      name: language
      value: fr
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/fr.json'
  - command: settings:set
    arguments:
      name: language
      value: gu
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/gu.json'
  - command: settings:set
    arguments:
      name: language
      value: hi
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/hi.json'
  - command: settings:set
    arguments:
      name: language
      value: hu
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/hu.json'
  - command: settings:set
    arguments:
      name: language
      value: id
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/id.json'
  - command: settings:set
    arguments:
      name: language
      value: ja
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/ja.json'
  - command: settings:set
    arguments:
      name: language
      value: ko
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/ko.json'
  - command: settings:set
    arguments:
      name: language
      value: mr
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/mr.json'
  - command: settings:set
    arguments:
      name: language
      value: pa
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/pa.json'
  - command: settings:set
    arguments:
      name: language
      value: pt_br
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/pt_br.json'
  - command: settings:set
    arguments:
      name: language
      value: ro
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/ro.json'
  - command: settings:set
    arguments:
      name: language
      value: ru
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/ru.json'
  - command: settings:set
    arguments:
      name: language
      value: tl
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/tl.json'
  - command: settings:set
    arguments:
      name: language
      value: vn
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/vn.json'
  - command: settings:set
    arguments:
      name: language
      value: zh_hans
  - command: generate:doc:data
    options:
      file: '%{{data_path}}/zh_hans.json'
  - command: settings:set
    arguments:
      name: language
      value: en
