Closed starbelly closed 3 years ago
Note : Aside from command state usage and refactoring / clean up that needs to be done, we need to add --docs-dir option. My gut told me to do this in another PR to keep this small enough.
Edit:
To note rebar3_hex:get_required/2 , rebar3_hex:task_args/1, and rebar3_hex:gather_opts/2 will all be going away in subsequent PRs.
This commit constitutes the breaking interface changes for the publish command for V7.
Options aside, one of the biggest changes is removing umbrella related functionality. Specifically, instead of looking for all possible apps and iterating over them and optionally publishing them, we just get the current app and publish it.
In addition, rebar3_hex:command_state/1 has been added, it's not extensively used yet. We will expand on this function, what it returns exactly, and proliferate its usage in the publish command and all other commands in subsequent commits.