Expublish.Options (expublish v2.3.4) View Source
Validate and parse mix task arguments.
Link to this section Summary
Functions
Default options used for every run.
Parse mix task arguments and merge with default options.
Print help to stdout.
Link to this section Types
Link to this section Functions
Specs
defaults() :: struct()
Default options used for every run.
Returns following map:
%Expublish.Options{
allow_untracked: false,
branch: "master",
commit_prefix: "Version release",
disable_publish: false,
disable_push: false,
disable_test: false,
dry_run: false,
help: false,
remote: "origin",
tag_prefix: "v"
}
Specs
Parse mix task arguments and merge with default options.
Specs
print_help() :: :ok
Print help to stdout.