There are a couple of tickets which talk about adding new functionality that would not run automatically as part of the main workflow but only when requested:
To accomplish these, we may want to extend the CLI and introduce commands to this tool. We'd still have a default command for the existing workflow now so as not to break backward compatibility, but then we'd introduce commands for the two tickets above.
If we do this, then we may want to rename this tool to encapsulate the increase in scope. Perhaps we call it mm-release?
Zooming about a bit, we've been talking about creating a unified tool for all things MetaMask, so if we called it mm, then we could implement a Git-style interface such that mm <command> would map to mm-<command>. This would allow us to develop extensions to mm in independent repos and they would "just work". For instance, we could rename template-sync to mm-template-sync, and we could even create a new tool to make it easy to create a new repo based on the module template (mm-repo?). Naming this tool mm-release would fit into this plan.
There are a couple of tickets which talk about adding new functionality that would not run automatically as part of the main workflow but only when requested:
To accomplish these, we may want to extend the CLI and introduce commands to this tool. We'd still have a default command for the existing workflow now so as not to break backward compatibility, but then we'd introduce commands for the two tickets above.
If we do this, then we may want to rename this tool to encapsulate the increase in scope. Perhaps we call it
mm-release
?Zooming about a bit, we've been talking about creating a unified tool for all things MetaMask, so if we called it
mm
, then we could implement a Git-style interface such thatmm <command>
would map tomm-<command>
. This would allow us to develop extensions tomm
in independent repos and they would "just work". For instance, we could renametemplate-sync
tomm-template-sync
, and we could even create a new tool to make it easy to create a new repo based on the module template (mm-repo
?). Naming this toolmm-release
would fit into this plan.