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에서 보기