
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
node module: rtm-cli
GitHub repo: dwaring87/rtm-cli
This Node module provides a command line interface, written in JavaScript, for the popular Remember the Milk task list manager.

If you already have Node installed, this program can be
installed via npm:
npm install -g rtm-cli
which will install the executable rtm into your $PATH.
COMING SOON
Standalone executables, that do not require a pre-existing installation of Node, will soon be released.
The main usage of the program:
Usage: rtm [options] <command> [command arguments]
Options:
-V, --version output the version number
-p, --plain Do not print styled/colored text
-h, --help output usage information
Commands:
add|a [task...] Add a new Task
addList|al [name] [filter...] Add a new List or Smart List
addTags|at [index] [tags...] Add one or more tags to a Task
comp|x [indices...] Complete one or more Tasks
decPri|- [indices...] Decrease the Priority of one or more Tasks
due [index] [due...] Set the Due Date of a Task
edit [index] [name...] Change the name of a Task
incPri|+ [indices...] Increase the Priority of one or more Tasks
lists|l Display all lists
login Add RTM User information
logout Remove RTM User information
ls [filter...] List all tasks sorted first by list then by priority
lsd [filter...] List all tasks sorted first by due date then by priority
lsp [filter...] List all tasks sorted first by priority then due date
move|mv [index] [list...] Move Task to a different List
postpone|pp [indices...] Postpone one or more Tasks
pri|p [index] [priority] Change Task Priority
remove|rm [indices...] Remove one or more Tasks
removeList|rml [name...] Remove a List
removeTags|rmt [index] [tags...] Remove one or more tags from a Task
renameList|mvl [oldName] [newName] Rename a List
reset Reset cached task indices
tags|t Display all tags
uncomp|unc [indices...] Mark one or more Tasks as not complete
add, aadd [Task Name]
The Task Name can use RTM's Smart Add Syntax.
Additionally, to minimize the need to escape special characters at the command line,
the following properties can be specified:
p:{priority}l:{list}t:tag1 t:tag2due:{due date}If Task Name is not provided, a prompt allowing multiple new task entries
will be displayed. Enter a blank line to finish adding new tasks.
Examples:
> add Buy Milk ^tomorrow !2 #Shopping
> add Feed The Cat today p:1 l:Chores t:pets *daily
addList, aladdList [List Name] [Smart List Filter]
This command will add a new empty List to the User's account or if a
Smart List Filer is provided, a Smart List using the provided
advanced search criteria
will be created.
If no arguments are provided, a prompt allowing multiple new list names will be displayed. Enter a blank line to finish add new lists.
Examples:
> addList Bills
> addList Important priority:1 OR priority:2
addTags, ataddTags [index] [tags...]
This command will add one or more tags to a Task. Tasks are referenced by index number, which are displayed when listing tasks. Multiple tags can be provided as arguments to this command.
If no arguments are provided, a prompt allowing multiple task indices and tags to be entered will be displayed. Enter a blank line to finish adding tasks and tags.
Examples:
> addTags 1 rent
> addTags 5 rent bills
comp, xcomp [indices...]
This command will mark the Tasks as complete. Tasks are referenced by index number, which are displayed when listing tasks. Multiple task indices can be provided as arguments to this command.
If no arguments are provided, a prompt allowing multiple task indices to be entered will be displayed. Enter a blank line to finish adding task indices.
Examples:
> comp 15
> comp 1 9 8
decPri, -decPri [indices...]
This command will decrease the priority of the Tasks by 1. Tasks are referenced by index number, which are displayed when listing tasks. Multiple task indices can be provided as arguments to this command.
If no arguments are provided, a prompt allowing multiple task indices to be entered will be displayed. Enter a blank line to finish adding task indices.
Examples:
> decPri 15
> decPri 1 9 8
duedue [index] [due date]
This command will set the Due Date of a Task. Tasks are referenced by index number, which are displayed when listing tasks. Due Dates can be entered in any format that RTM can parse.
If no arguments are provided, a prompt allowing multiple task and due dates to be entered will be displayed. Enter a blank line to finish adding tasks and due dates.
Examples:
> due 1 tomorrow
> due 15 May 12
> due 3 days
editedit [new task name]
This command will change the name of a Task. Tasks are referenced by index number, which are displayed when listing tasks.
If no arguments are provided, a prompt allowing multiple task indices and names to be entered will be displayed. Enter a blank line to finish adding indices and names.
Example:
> edit 1 Buy More Milk
incPri, +incPri [indices...]
This command will increase the priority of the Tasks by 1. Tasks are referenced by index number, which are displayed when listing tasks. Multiple task indices can be provided as arguments to this command.
If no arguments are provided, a prompt allowing multiple task indices to be entered will be displayed. Enter a blank line to finish adding task indices.
Examples:
> incPri 15
> incPri 1 9 8
lists, lThis command will display the names of all Lists. If the List is a 'Smart List', the search criteria will be displayed alongside the list name.
loginThis command will remove any saved RTM user information and start the
login procedure. An Auth URL will be displayed and opened in the User's
browser. This URL will ask the User to grant RTM CLI access to their
account. Once authorized, the user's information (id, username, full name
and an Auth Token provided by RTM) will be saved locally ($HOME/.rtm.json
by default).
logoutThis command will remove any saved RTM user information. Any future requests to the RTM API Server will require the User to login again.
lsls [filter]
This command will display the User's tasks sorted first by List then by priority. A filter, using RTM's Advanced Search Syntax can be used to filter the tasks displayed.
Examples:
> ls
> ls priority:1 AND list:Work

lsdlsd [filter]
This command will display the User's tasks sorted first by Due Date (with tasks without a due date shown first) then by priority. A filter, using RTM's Advanced Search Syntax can be used to filter the tasks displayed.
Examples:
> lsd
> lsd priority:1 AND list:Work

lsplsp [filter]
This command will display the User's tasks sorted first by priority then by due date. A filter, using RTM's Advanced Search Syntax can be used to filter the tasks displayed.
Examples:
> lsp
> lsp priority:1 AND list:Work

move, mvmove [index] [list name]
This command will move a Task to a different List. Tasks are referenced by index
number, which are displayed when listing tasks. The list name must be the
name of an existing List.
Note: This command will fail if there is more than 1 List matching the new List name.
Example:
> move 1 Work
postpone, pppostpone [indices...]
This command will postpone the due date of a Task by one day. Tasks are referenced by index number, which are displayed when listing tasks. Multiple task indices can be provided as arguments to this command.
Examples:
> postpone 1
> postpone 1 15 8
pri, ppri [index] [priority]
This command will set the priority of the tasks. Tasks are referenced by index
number, which are displayed when listing tasks. Acceptable priority values
include 1, 2, and 3 - any other value removes the priority from the task.
If no arguments are provided, a prompt allowing for multiple task and priority inputs is displayed. Enter a blank line to finish adding tasks/priorities.
Examples:
> pri 15 1
> pri 14 0
remove, rmremove [indices...]
This command will remove the Tasks from the User's account. Tasks are referenced by index number, which are displayed when listing tasks. Multiple task indices can be provided as arguments to this command.
Examples:
> remove 1
> remove 1 15 8
removeList, rmlremoveList [name]
This command will remove the List matching the provided name from the User's
account. Any tasks remaining in the List will be moved to the User's Inbox.
Note: This command will fail if there is more than one List matching the provided list name.
If no list name is provided, a prompt allowing for multiple list names to be entered will be displayed. Enter a blank line to finish adding list names.
Example:
> removeList Bills
removeTags, rmtremoveTags [index] [tags...]
This command will remove one or more tags from the Task. Tasks are referenced by index number, which are displayed when listing tasks. Multiple tags can be provided as arguments to this command.
Examples:
> removeTags 1 bills
> removeTags 15 bills rent
renameList, mvlrenameList [old name] [new name]
This command will change the name of the List from old name to new name.
Note: This command will fail if there is more than one List matching the
provided old name.
Note: This command is unable to rename a 'Smart List' (the RTM API considers a 'Smart List' to be read-only).
Example:
> renameList Food Groceries
resetThis command will regenerate the cached lookup table used to reference a specific task to an index number. This is helpful when many tasks have been deleted and the task indices are getting large.
tags, tThis command will display all tag names associated with the User's tasks. Next to each tag will be the number of incomplete and complete Tasks for that tag.
uncomp, uncuncomp [indices...]
This command will mark the Task as incomplete. Tasks are referenced by index number, which are displayed when listing tasks. Multiple task indices can be provided as arguments to this command.
Examples:
> uncomp 1
> uncomp 15 8
An interactive mode is started when no commands are given to rtm, which
allows commands to be given sequentially.
Use the quit command to leave the interactive mode.
FAQs
RTM CLI
The npm package rtm-cli receives a total of 16 weekly downloads. As such, rtm-cli popularity was classified as not popular.
We found that rtm-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.