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

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

@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

Parameters

  • argv - command line arguments (list)

switches

Switches

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