名称: anylist
描述: 通过 AnyList 管理购物清单。当用户询问购物清单、食品杂货或添加/勾选待购物品时使用。
主页: https://www.anylist.com
元数据:
clawdbot:
emoji: "🛒"
requires:
bins: ["anylist"]
通过 AnyList 管理购物清单。
npm install -g anylist-cli
# 交互式身份验证
anylist auth
# 或为非交互式使用设置环境变量
export ANYLIST_EMAIL="your@email.com"
export ANYLIST_PASSWORD="your-password"
anylist lists # 显示所有清单
anylist lists --json # 以 JSON 格式输出
anylist items "Grocery" # 显示清单中的物品
anylist items "Grocery" --unchecked # 仅显示未勾选的物品
anylist items "Grocery" --json # 以 JSON 格式输出
anylist add "Grocery" "Milk"
anylist add "Grocery" "Milk" --category dairy
anylist add "Grocery" "Chicken" --category meat --quantity "2 lbs"
可用分类: produce, meat, seafood, dairy, bakery, bread, frozen, canned, condiments, beverages, snacks, pasta, rice, cereal, breakfast, baking, spices, seasonings, household, personal care, other
anylist check "Grocery" "Milk" # 标记为已勾选
anylist uncheck "Grocery" "Milk" # 标记为未勾选
anylist remove "Grocery" "Milk" # 从清单中移除
anylist clear "Grocery" # 清除所有已勾选的物品
用户:"购物清单上有什么?"
anylist items "Grocery" --unchecked
用户:"把牛奶和鸡蛋加到购物清单"
anylist add "Grocery" "Milk" --category dairy
anylist add "Grocery" "Eggs" --category dairy
用户:"勾选面包"
anylist check "Grocery" "Bread"
用户:"添加制作塔可的食材"
anylist add "Grocery" "Ground beef" --category meat
anylist add "Grocery" "Taco shells" --category other
anylist add "Grocery" "Lettuce" --category produce
anylist add "Grocery" "Tomatoes" --category produce
anylist add "Grocery" "Cheese" --category dairy
--json 参数进行脚本编写和程序化访问