alleyinteractive / alleyinteractive/alley-scripts
Make `create-entry` available in themes
Offen
good first issue
php
typescript
- Vorherrschende Sprache
- TypeScript
- Sterne
- 10
- Forks
- 3
- Ø Merge
- 4 T. 22 Std.
- Gemergte PRs (30 T.)
- 2
Beschreibung
### Description
There is currently an expectation that `create-entry` will be run within a plugin, as the output uses file paths constructed with `plugin_url()` ([example](https://github.com/alleyinteractive/alley-scripts/blob/main/packages/create-entry/templates/entry/index.php.mustache#L26)). Should we consider modifying this to allow developers to run the command within themes? It would need to be a prompt in order to modify the current behavior. Alternately, we could choose a way of getting the URL to the file without relying on plugin/theme specific function calls.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.