ur - Command line tool to manage metadata within a namespace
ur define namespace MyApp ur describe MyApp::Some::Class ur update classes
ur is a command-line wrapper around the UR::Namespace::Command tree of modules. They manipulate, display and alter metadata within a namespace.
ur
Like other UR::Command-based commands, ur by itself doesn't do much. It functions as an entry point to the various sub-commands for displaying, changing and updating metadata. If insufficient arguments are given on the command line, or if --help is on the command line, then the command will display some helpful documentation such as accepted command line args and available sub-commands.
--help
All the modules implementing the sub-commands are locted under UR::Namespace::Command
These are the commands available at the top level.
Start a local web server that presents an HTML-based view of the current namespace's classes and schema.
Define contains sub-commands for defining Namespaces, Data Sources and Classes.
Display information about a class or data source entity to STDOUT.
Display differences between versions of class definitions.
Display lists of classes, modules and objects
Re-format a class description to the current standard and print it to STDOUT
Re-format a class description to the current standard and save it back to the module file.
Test contains sub-commands for running and performing different types of tests within a Namespace.
Update contains sub-commands for updating the Namespace's class structure based on the current database schema (update), or for creating and updating an umlet diagram about a class or schema structure.
update
To install UR, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UR
CPAN shell
perl -MCPAN -e shell install UR
For more information on module installation, please visit the detailed CPAN module installation guide.