Miss any of our Open RFC calls?Watch the recordings here! »

@kintone/plugin-uploader

4.1.2 • Public • Published

@kintone/plugin-uploader

npm version

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
    --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
    domain: KINTONE_DOMAIN
    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 domain: example.com

LICENSE

MIT License

Keywords

Install

npm i @kintone/plugin-uploader

DownloadsWeekly Downloads

256

Version

4.1.2

License

MIT

Unpacked Size

34.3 kB

Total Files

9

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar