Closed dbason closed 5 months ago
I believe the exported functions will need to be moved to a different package, since package main can't be imported.
Why do we need the functions to be exposed as mage targets?
Closing since this PR hasn't seen any action for 2 years. We can reopen it if needed.
This pull request refactors the CLI functions into exported functions that can be used as mage targets. The original functions wrap the new ones with a CLI context.
The validate function has been split into 3 separate functions to make it easier to use the remote or local options in mage.