target / theta-idl

Define communication protocols between applications using algebraic data types.
Other
45 stars 9 forks source link

Add theta list modules command #60

Closed TikhonJelvis closed 2 years ago

TikhonJelvis commented 2 years ago

Added a theta list modules command for listing all the modules accessible in the Theta load path. I made modules a subcommand because I expect to add at least theta list types in the near future.

The subcommand has a couple of options:

theta list modules
theta list modules --names
theta list modules --paths
theta list modules --names --paths

The first two commands list module names, the third command lists paths to module files and the last command lists both names and paths (separated with a TAB character).