Skip to main content

customize init

The customize init command allows you to initialize a manifest file for JavaScript/CSS customization.

Example

cli-kintone customize init --output customize-manifest.json

Options

See Options page for common options.

OptionRequiredDescription
--outputOutput path for the manifest file
Default to customize-manifest.json
--yesSkip confirmation

Manifest File

The manifest file is a JSON file with the following structure:

PropertyTypeDescription
scope"ALL" | "ADMIN" | "NONE"Customization scope
desktop.jsstring[]JS files for desktop view
desktop.cssstring[]CSS files for desktop view
mobile.jsstring[]JS files for mobile view
mobile.cssstring[]CSS files for mobile view

Example

{
"scope": "ALL",
"desktop": {
"js": [
"https://js.cybozu.com/jquery/3.3.1/jquery.min.js",
"desktop/js/app.js"
],
"css": ["desktop/css/style.css"]
},
"mobile": {
"js": [],
"css": []
}
}