Skip to main content

create-extension

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

Ir para a instalação

Informações da origem

Repositório
gamonoid/icehrm
Última atividade na origem
2 de agosto de 2026 às 09:53
Idioma detectado do SKILL.md
inglês
Estrelas
726
Forks
426

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
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`.
Ver no GitHub