wework
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWeWork
WeWork
Overview
概述
Use this skill to run safely and produce exact commands for location lookup, desk availability checks, booking, and calendar export.
Prefer read-only commands first and only run booking once location and date are validated.
weworkRead when you need full command and flag coverage.
Read when you need concrete output shapes for desks, locations, and bookings.
references/commands.mdreferences/example-output.md使用本技能安全运行命令,并生成用于位置查询、工位可用性检查、预订和日历导出的精确指令。优先使用只读命令,仅在确认位置和日期有效后再执行预订操作。
wework如需完整的命令及参数说明,请查阅。
如需获取工位、位置和预订的具体输出格式示例,请查阅。
references/commands.mdreferences/example-output.mdRunbook
操作手册
- Confirm installation and command availability.
- Confirm authentication source (env vars or flags).
- Resolve location candidates ().
locations - Check availability for the target date ().
desks - Run booking ().
book - Verify final state () and optionally export calendar (
bookings).calendar
- 确认安装状态及命令可用性。
- 确认认证来源(环境变量或参数)。
- 确定目标位置候选选项(命令)。
locations - 检查目标日期的工位可用性(命令)。
desks - 执行预订操作(命令)。
book - 验证最终状态(命令),并可选择性导出日历(
bookings命令)。calendar
Installation And Auth
安装与认证
Install the CLI:
bash
npm install -g wework-cliUse environment variables by default:
bash
export WEWORK_USERNAME="your_username"
export WEWORK_PASSWORD="your_password"For installed CLI usage with env credentials:
bash
wework bookingsUse and only when explicitly requested.
--username--password安装CLI:
bash
npm install -g wework-cli默认使用环境变量进行认证:
bash
export WEWORK_USERNAME="your_username"
export WEWORK_PASSWORD="your_password"使用已安装的CLI及环境变量凭证执行命令示例:
bash
wework bookings仅在明确要求时使用和参数。
--username--passwordCommon Tasks
常见任务
Use these as canonical examples:
bash
undefined以下为标准示例:
bash
undefinedlist locations in Tokyo
列出东京的所有位置
wework locations --city "tokyo"
wework locations --city "tokyo"
list available desks in Bangkok for a date
列出曼谷指定日期的可用工位
wework desks --city "Bangkok" --date 2025-12-09
wework desks --city "Bangkok" --date 2025-12-09
list available desks for one location UUID
列出指定位置UUID的可用工位
wework desks --location-uuid YOUR_LOCATION_UUID --date 2026-03-01
wework desks --location-uuid YOUR_LOCATION_UUID --date 2026-03-01
create booking range with city + space name
通过城市+空间名称创建多日预订
wework book --city "Tokyo" --name "Shibuya Scramble Square" --date 2026-02-18~2026-02-20
wework book --city "Tokyo" --name "Shibuya Scramble Square" --date 2026-02-18~2026-02-20
list upcoming bookings
列出即将到来的预订
wework bookings
wework bookings
write ICS file for calendar import
生成ICS文件用于日历导入
wework calendar --calendar-path ./wework_bookings.ics
For single-day bookings, keep `--date` in `YYYY-MM-DD`.
For multi-day booking ranges, use `YYYY-MM-DD~YYYY-MM-DD`.wework calendar --calendar-path ./wework_bookings.ics
单日预订时,`--date`参数需使用`YYYY-MM-DD`格式。
多日预订范围需使用`YYYY-MM-DD~YYYY-MM-DD`格式。Output Strategy
输出策略
Use default CLI output for interactive use.
This CLI does not currently expose a JSON output flag in , so for automation treat output as text and parse conservatively.
--help交互式使用时采用CLI默认输出格式。
当前CLI在中未提供JSON输出参数,因此自动化场景下需将输出视为文本并谨慎解析。
--helpSafety Checks
安全检查
Before operations:
book- Confirm the target location exists ().
locations - Confirm desk availability for the same date ().
desks - Use explicit in
--dateformat.YYYY-MM-DD - Verify result with after booking.
bookings
If authentication fails, re-check and values, or explicitly pass / .
WEWORK_USERNAMEWEWORK_PASSWORD--username--password执行操作前需完成以下检查:
book- 确认目标位置存在(使用命令)。
locations - 确认指定日期的工位可用(使用命令)。
desks - 使用格式的明确
YYYY-MM-DD参数。--date - 预订完成后使用命令验证结果。
bookings
若认证失败,请重新检查和的值,或显式传递/参数。
WEWORK_USERNAMEWEWORK_PASSWORD--username--passwordVersion Notes
版本说明
/Users/david/src/wework-cli/README.mdmewework --help--help--datebookdesksme/Users/david/src/wework-cli/README.mdmewework --help--helpbookdesks--dateme