Module luarocks.command_line

Functions for command-line scripts.

Functions

run_command (...) Main command-line processor.


Functions

run_command (...)
Main command-line processor. Parses input arguments and calls the appropriate driver function to execute the action requested on the command-line, forwarding to it any additional arguments passed by the user. Uses the global table "commands", which contains the loaded modules representing commands.

Parameters:

  • ...: string: Arguments given on the command-line.
generated by LDoc 0.5