@kintone/plugin-uploader
A kintone plugin uploader using puppeteer
Usage
% npm install @kintone/plugin-uploader
% ./node_modules/.bin/kintone-plugin-uploader
--domain ${yourDomain} \
--username ${yourLoginName} \
--password ${yourPassword} \
${pluginZipPath}
or
% npm install -g @kintone/plugin-uploader
% kintone-plugin-uploader \
--domain ${yourDomain} \
--username ${yourLoginName} \
--password ${yourPassword} \
${pluginZipPath}
If you want to upload the plugin automatically when the plugin is updated, you can use --watch
option.
% kintone-plugin-uploader \
--domain ${yourDomain} \
--username ${yourLoginName} \
--password ${yourPassword} \
--watch \
${pluginZipPath}
It works fine with @kintone/plugin-packer.
You can create a project based on @kintone/plugin-packer
using @kintone/create-plugin :).
Options
Usage
$ kintone-plugin-uploader <pluginPath>
Options
--domain Domain of your kintone
--username Login username
--password User's password
--proxy Proxy server
--watch Watch the changes of plugin zip and re-run
You can set the values through environment variables
domain: KINTONE_DOMAIN
username: KINTONE_USERNAME
password: KINTONE_PASSWORD
proxy: HTTPS_PROXY or HTTP_PROXY
If you ommit the options, you can input the options interactively.
% kintone-plugin-uploader plugin.zip
? Input your username: hoge
? Input your password: [hidden]
? Input your domain: example.com
LICENSE
MIT License