command line interface providing useful utilities for pitt students
$ [sudo] npm install -g pitt-cli
In order to use print link functionality wkhtmltopdf must be installed on your system.
Print - send file to [email protected]
$ pitt print [-c] path/to/file
-c
send file to [email protected]
-l
send link to printer instead of file
Email - send email from pitt email
$ pitt email [-cc] "recipients" ["subject"] ["body"]
-cc
prompts for recipients to cc on the email
pitt email "[email protected], [email protected]" "subject" "body"
SSH - connect to unixs.cssd.pitt.edu
$ pitt ssh
THOTH - connect to thoth.cs.pitt.edu
$ pitt thoth
Deploy - deploy given directory to your personal Pitt website
$ pitt deploy "directory"
Login - Store login credentials
$ pitt login
You will have the option to encrypt your credentials with a password.
Stored passwords only work with the print
and email
commands
Logout - Delete stored login credentials
$ pitt logout
Help
$ pitt --help