Nonlinear Programming Methods
    Wondering what’s next for npm?Check out our public roadmap! »

    @kintone/plugin-uploader
    TypeScript icon, indicating that this package has built-in type declarations

    4.3.1 • 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
    --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
        --domain Domain of your kintone (This value is deprecated. Please use --base-url.)
        --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
        domain: KINTONE_DOMAIN (This value is deprecated. Please you 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

    Keywords

    Install

    npm i @kintone/plugin-uploader

    DownloadsWeekly Downloads

    386

    Version

    4.3.1

    License

    MIT

    Unpacked Size

    48.4 kB

    Total Files

    17

    Last publish

    Collaborators

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