View Source Dependents.Tree.CLI (Dependents Tree v0.1.25)

Parses the command line and prints a Dependents.Tree table.

Link to this section Summary

Functions

Parses the command line and prints a Dependents.Tree table.

Link to this section Functions

Specs

main(OptionParser.argv()) :: :ok

Parses the command line and prints a Dependents.Tree table.

The dependencies of an app are specified in the mix.exs file. Dependents of an app are those apps using it as a dependency.

argv can be "-h" or "--help", which prints info on the command's usage and syntax. Otherwise it is an apps's directory, to list all direct and indirect dependents of that app. To list dependents of all apps, specify switch --all.

Parameters

  • argv - command line arguments (list)

Switches

  • -h or --help - for help
  • -a or --all - to list dependents of all apps