Dependents.Tree.CLI (Dependents Tree v0.1.35)

View Source

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

Summary

Functions

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

Functions

main(argv)

@spec 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. The 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