2.0.1 • Published 5 months ago

@garoon/plugin-uploader v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

garoon-plugin-uploader

Garoon plugin uploader using puppeteer.

Note: In environments where only SAML authentication is enabled, only Users & System Administrators can use this uploader to upload plugins. (References)

Install

$ npm install -D @garoon/plugin-uploader

or

$ npm install -g @garoon/plugin-uploader

Usage

$ cd your_project

Apply the plugin to Garoon for the first time

$ garoon-plugin-uploader \
--base-url ${yourGaroonBaseUrl} \
--username ${yourLoginName} \
--password ${yourPassword} \
--plugin-path ${pluginZipPath}

Update existing plugin

$ garoon-plugin-uploader \
--base-url ${yourGaroonBaseUrl} \
--username ${yourLoginName} \
--password ${yourPassword} \
--plugin-path ${pluginZipPath} \
--plugin-id ${pluginId}

Options

$ garoon-plugin-uploader --help

Options:
  --version              Show version number                           [boolean]
  --base-url             Garoon base url to apply plugin's zip. example)
                         https://example.cybozu.com/         [string] [required]
  --username             Garoon username                     [string] [required]
  --password             Garoon password                     [string] [required]
  --plugin-path          existing plugin's zip path          [string] [required]
  --plugin-id            plugin's id                                    [string]
  --basic-auth-username  username for Basic Authentication               [string]
  --basic-auth-password  password for Basic Authentication               [string]
  --proxy                IP or hostname for proxy server                 [string]
  --help                 Show help                                     [boolean]

You can set the values through environment variables. --base-url: GAROON_BASE_URL --username: GAROON_USERNAME --password: GAROON_PASSWORD --basic-auth-username: GAROON_BASIC_AUTH_USERNAME --basic-auth-password: GAROON_BASIC_AUTH_PASSWORD --proxy: HTTPS_PROXY or HTTP_PROXY

License

MIT License

2.0.1

5 months ago

2.0.0

11 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago