Fetch Xilofone messages and output them
yarn add -D @rezo-zero/xilofone-fetch
XILOFONE_BASE_URL=https://xilofone.example.com
XILOFONE_USERNAME=user
XILOFONE_PASSWORD=***********
XILOFONE_FILE_ID=12
XILOFONE_OUTPUT=assets/locales/
Setup a custom npm script into package.json file
{
"scripts": {
"xilo": "node ./node_modules/@rezo-zero/xilofone-fetch/dist/index.js"
}
}
and use it like
yarn xilo