create [list name] # creates a list
delete [list name] # deletes a list
add [list name] [item] # adds item to list
rm [list name] [item no.] # deletes item from a list
sub [list name] [phone no.] # adds a collaborator
unsub [list name] [phone no.] # removes a collaborator from a list
subs # list all lists currently subscribed to
stop # removes all list subscriptions
- Python 3.7
- Flask
- MongoEngine
- MongoDB
{
"name":"groceries",
"subs": [
"708-287-0004",
"205-799-9923",
...
],
"items": [
"Milk",
"Eggs",
"Butter",
"Cheese",
"Brownies",
...
]
}
creates an empty list with sender as first subscriber
create groceries
list "groceries" created
ls groceries
1. Milk
2. Eggs
3. Butter
4. Cheese
delete groceries
list "groceries" deleted
add groceries brownies
1. Milk
2. Eggs
3. Butter
4. Cheese
5. Brownies
rm groceries 3
1. Milk
2. Eggs
3. Cheese
4. Brownies
sub groceries 708-287-0004
Reply:
added 708-287-0004 to groceries
Notify:
You're been added to groceries by 867-5309 reply HELP
for more options.
Note: if phone number is omitted, delete sender
unsub groceries 708-287-0004
removed '708-287-0004' from groceries
stop
removed you from all lists. thanks for using smsremind
help
smsremind:
commons ops:
[see top of file]