Credo Plus v1.0.1 Credo.CLI View Source

Credo.CLI is the entrypoint for both the Mix task and the escript.

It takes the parameters passed from the command line and translates them into a Command module (see the Credo.CLI.Command namespace), the work directory where the Command should run and a Credo.Execution struct.

Link to this section Summary

Functions

Returns the module of a given command

Runs Credo’s main process

Link to this section Functions

Link to this function command_for(command_mod) View Source

Returns the module of a given command.

iex> command_for(:help)
Credo.CLI.Command.Help

Runs Credo’s main process.