@kintone/plugin-uploader
A kintone plugin uploader using puppeteer
Usage
% npm install @kintone/plugin-uploader
% ./node_modules/.bin/kintone-plugin-uploader
--base-url ${yourKintoneBaseUrl} \
--username ${yourLoginName} \
--password ${yourPassword} \
${pluginZipPath}
or
% npm install -g @kintone/plugin-uploader
% kintone-plugin-uploader \
--base-url ${yourKintoneBaseUrl} \
--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 \
--base-url ${yourKintoneBaseUrl} \
--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
--base-url Base-url of your kintone
--username Login username
--password User's password
--proxy Proxy server
--basic-auth-username username for Basic Authentication
--basic-auth-password password for Basic Authentication
--watch Watch the changes of plugin zip and re-run
--lang Using language (en or ja)
You can set the values through environment variables
base-url: KINTONE_BASE_URL
username: KINTONE_USERNAME
password: KINTONE_PASSWORD
basic-auth-username: KINTONE_BASIC_AUTH_USERNAME
basic-auth-password: KINTONE_BASIC_AUTH_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 kintone's base URL: https://example.cybozu.com
LICENSE
MIT License