alleyinteractive / alleyinteractive/alley-scripts
Make `create-entry` available in themes
Open
good first issue
php
typescript
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 3
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 2
Description
### 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.
Contributor guide
Assessment
This issue has not been assessed yet.