Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guite/generator-action
GitHub Action for using the standalone generator from ModuleStudio.
https://github.com/guite/generator-action
generator github-action github-actions mdsd modulestudio symfony zikula
Last synced: 5 days ago
JSON representation
GitHub Action for using the standalone generator from ModuleStudio.
- Host: GitHub
- URL: https://github.com/guite/generator-action
- Owner: Guite
- Created: 2019-10-26T11:50:07.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T08:31:25.000Z (11 months ago)
- Last Synced: 2024-05-01T17:13:16.279Z (7 months ago)
- Topics: generator, github-action, github-actions, mdsd, modulestudio, symfony, zikula
- Language: Shell
- Homepage: https://modulestudio.de/
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Action for ModuleStudio Generator
This repository contains a GitHub Action for using the standalone generator from ModuleStudio.
The standalone generator is always providing the latest Git revision of [the generator's project](https://github.com/Guite/MostGenerator/).
## Inputs
1. Full name of your model file. Example: `AcmeNews.mostapp`.
2. Name of your module including the vendor and the `Module` suffix. Example: `Acme/NewsModule`.
3. Path to the directory containing the `extensions/` folder (including trailing slash). Default `""`.
4. Whether to enable verbose output (set to `true`). Default `false`.## Outputs
### `results`
Generated files.
## Example usage
```
uses: docker://guite/generator-action:latest
with:
args: MultiHook.mostapp Zikula/MultiHookModule src/ true
```A sample project using this GitHub Action can be found [here](https://github.com/Guite/test-actions).
## Usage without GitHub Actions
The Docker image for this action is built automatically and located here: .
You can run it in any given directory like this:
```
docker run --rm -it -w=/app -v ${PWD}:/app guite/generator-action:latest MultiHook.mostapp Zikula/MultiHookModule src/ true
```