Skip to main content

create-extension

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

Zur Installation springen

Quellinformationen

Repository
gamonoid/icehrm
Letzte Quellaktivität
2. August 2026 um 09:53
Erkannte Sprache von SKILL.md
Englisch
Sterne
726
Forks
426

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
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`.
Auf GitHub ansehen