Skip to main content

create-extension

Create a new IceHRM extension by running the CLI scaffolding command from the cloud directory

インストールへ移動

ソース情報

リポジトリ
gamonoid/icehrm
ソースの最終更新活動
2026年8月2日 09:53
検出された SKILL.md の言語
英語
スター
726
フォーク
426

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
create-extension
description
Create a new IceHRM extension by running the CLI scaffolding command from the cloud directory
Create a new IceHRM extension using the CLI scaffolding tool. The user should provide: - **Extension name** — the name of the extension (e.g., `kudos`) - **Type** — either `admin` or `user` If the user hasn't specified both values, ask them before proceeding. Run the following command from the `/` directory: ```bash php ice create:extension <extension-name> <type> ``` For example, to create an admin extension called "kudos": ```bash php ice create:extension kudos admin ``` After the command completes: 1. Confirm the extension was created by listing the generated files. 2. Add a build line to `obfuscate-js.sh` for the new extension: ``` gulp ejs --x<extension-name>/<type> -eprod ``` For example, for a `kudos` admin extension, add: ``` gulp ejs --xkudos/admin -eprod ``` Add the line before the `cd extensions/editor/...` block at the end of the file. When removing an extension, also remove its corresponding `gulp ejs` line from `obfuscate-js.sh`.
GitHubで見る