alleyinteractive / alleyinteractive/alley-scripts

Make `create-entry` available in themes

Open
#728 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.