#!/bin/bash cd $(dirname ${0}) cd .. # 環境変数の読み込み # export $(cat .env.development | grep -v ^# | sed -e s/^DEV_//g | xargs) echo "env-cmd kintone-dts-gen --app-id ${1} -o ./types/fields.d.ts" npx env-cmd kintone-dts-gen --app-id ${1} -o ./types/fields.d.ts