Control Tomcat from the command line with simplicity
tom - Control tomcat from the command line with simplicity
> tom available
> tom install 5.5.35
> tom list
> tom up 5.5.35
> tom down
> tom restart
> tom ping
> tom version 6.0.35
> tom uninstall 5.5.35
tom up [VERSION]
Starts up the version of tomcat specified or the default version if the version is omitted.
tom down
Shutsdown the currently running tomcat instance
tom restart [VERSION] [OPTIONS]
Restarts a currently running instance of tomcat if one is running otherwise it just starts a new instance. Can specify the host, port and timeout (in seconds) for testing if a tomcat instance is currently running.
tom list
List all installed versions of Tomcat
tom ping [OPTIONS]
Test if a HTTP server is running at a given host and port combination, can also specify a timeout in seconds. The default host is "localhost", the default port is 8080, and the default timeout is 2 seconds.
tom version VERSION
Set a default version
tom available
List all versions of Tomcat that are available for install
tom uninstall VERSION
Uninstalls a version of Tomcat
tom install VERSION
Installs a version of Tomcat
tom deploy [VERSION] WARFILE|DIRECTORY
Deploy a web application to a given version of Tomcat via a warfile or directory.
tom help
Displays a help message
perl 5.10 or greater
HTTP::Tiny
Mojo::DOM 3.38
7za (the command line version of 7zip) installed in C:\Users\[USERNAME]\bin
for install command
GNU tar (on PATH) for install command
Delon Newman <delon.newman@gmail.com>