New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ginue

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ginue

ginue is the CLI tool to get settings of kintone via kintone REST API.

latest
Source
npmnpm
Version
3.1.0
Version published
Maintainers
1
Created
Source

Ginue

English | 日本語

A CLI tool to manage kintone app settings via the kintone REST API with a Git-like workflow.

📢 Notice

v3.x will be upgraded to v4 soon.

  • v2: Node.js (JavaScript) version - maintenance mode
  • v3: Node.js (TypeScript) version - current
  • v4: Next version (Node.js, Deno, or Golang) - under consideration

Installation

Global installation:

npm install -g ginue
# or
yarn global add ginue

Per-project installation:

npm install --save-dev ginue
# or
yarn add --dev ginue

Usage

Ginue provides Git-like commands:

Common Options

  -v, --version                    Output version information
  -h, --help                       Output usage information
  -d, --domain=<DOMAIN>            kintone domain name
  -u, --user=<USER>                kintone username
  -p, --password=<PASSWORD>        kintone password
  -a, --app=<APP-ID>               kintone app IDs
  -g, --guest=<GUEST-SPACE-ID>     kintone guest space ID
  -b, --basic=<USER[:PASSWORD]>    kintone Basic Authentication user and password
  -A, --appName=<APP-NAME>         Set target app name
  -l, --location=<LOCATION>        Location of settings file
  -t, --fileType=<FILE-TYPE>       Set file type 'json'(default) or 'js'
  -F, --pfxFilepath=<PFX-FILEPATH> The path to client certificate file
  -P, --pfxPassword=<PFX-PASSWORD> The password of client certificate
  --oauth                          Use OAuth 2.0 authentication (requires gyuma)
  --preview                        Fetch from test environment instead of production
  --alt                            Save with alternate format (masks environment-specific values)
  --downloadJs                     Download JS/CSS customization files
  --proxy=<PROXY-URL>              Proxy server URL
  • If domain, user, password, or app options are omitted, you will be prompted for input.
  • Multiple app IDs can be specified with commas (e.g., -a 10,11,12).
  • The guest option is required for apps in guest spaces.
  • Options can also be set via .ginuerc config file, .netrc, or environment variables.
  • Priority: CLI args > .ginuerc > .netrc > environment variables

.ginuerc

Create a .ginuerc config file in your project directory for automatic option loading. Supports JSON, JS, and YAML formats.

.ginuerc.json

{
  "location": "kintone-settings",
  "domain": "example.cybozu.com",
  "username": "Administrator",
  "password": "myPassword",
  "app": [10, 11, 12]
}

Multi-environment configuration:

{
  "location": "kintone-settings",
  "env": {
    "development": {
      "domain": "dev.cybozu.com",
      "app": { "user": 128, "order": 129 }
    },
    "production": {
      "domain": "prod.cybozu.com",
      "app": { "user": 10, "order": 11 }
    }
  }
}

ginue pull

Fetches kintone app settings and saves them as JSON files.

  • Creates a directory per app containing all settings JSON files.
  • The revision field is extracted to a separate revision.json file for cleaner diffs.
  • Use --preview to fetch settings from the test environment instead of production.
ginue pull -d example.cybozu.com -a 10,11,12 -u Administrator
ginue pull -A user --preview

ginue push

Uploads local JSON settings to kintone's test environment.

  • Push to the same environment: ginue push development
  • Push across environments: ginue push development:production
  • After pushing, use kintone's UI to "Update App" or "Discard Changes", or use ginue deploy / ginue reset.

--dry-run option

Use --dry-run=<OUTPUT-DIR> to preview the transformed JSON without actually pushing to kintone. This is useful for verifying changes before pushing, especially when pushing across environments.

# Preview transformed JSON
ginue push development:production --dry-run=./dry-run-output

# Then verify with diff
diff -r ./kintone-settings/development ./dry-run-output/production
ginue push development
ginue push development:production
ginue push development:production -A user

ginue deploy

Deploys settings from the test environment to production.

ginue deploy development
ginue deploy development -A user

ginue reset

Cancels pending changes in the test environment.

ginue reset development
ginue reset development -A user

ginue erd

⚠️ Experimental feature. May be unstable.

Generates an ER diagram (PlantUML format) from lookup field relationships.

ginue erd development

ginue diff

⚠️ Experimental feature. May be unstable.

Opens a visual diff viewer (twins-diff) to compare settings between environments.

ginue diff development
ginue diff development:production

License

MIT

FAQs

Package last updated on 23 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts