The CLI can be run with the following syntax: gator [command] [optional arguments]
The available commands are:
login - Takes an argument username and sets the current user to the user with that username.
register - Takes an argument username, creates a user with that username, and sets the current user to the user with that username.
reset - Deletes all users.
users - Lists all users, indicating the current user.
agg - Takes an argument time-between-reqs and polls all feeds at that interval looking for new posts. This is a long running task, and requires you to cress ctrl-c to break it.
addfeed - Takes two arguments name and url, adds a new feed with that name and url, and follows the field for the current user.
feeds - Lists all feeds.
follow - Takes an argument url and follows the feed with that url for the current user.
following - Lists all feeds followed by the current user.
unfollow - Takes an argument url and unfollows the feed with that url for the current user.
browse - Takes an optional argument number-of-posts and lists the most recent posts from the current users feeds, up to that number or 2, if no number is specified.