Standardize name of CLI tool to `hanami assets`
Closed this issue · 4 comments
cllns commented
Can we change hanami-assets
to hanami assets
?
It would simplify things if the commands are the same regardless of whether you're using hanami-assets
alone or with the rest of hanami
.
- It'd have to check to see if the current project is a full
hanami
project, and if so, prefer those CLI tools instead. - It would also have to add a
precompile
command, in order to provide the same API.
Since right now it'shanami-assets
vshanami assets precompile
davydovanton commented
I think we can use CLI hack here. What do you think @jodosha? If you agree I can make PR.
jodosha commented
@davydovanton If your idea is to use hanami/hanami#566, my answer is no. 😄 That would create a cyclic dependency between hanami
and hanami-assets
, unless we extract hanami-cli
and make both the gems to depend on it. But I hope to not extract that gem.
jodosha commented
Closing this as stale discussion. If we think we should iterate, please commend below. Thanks.