Documentation
¶
Overview ¶
Package wecomcalendarcli is the module root. It exists only to embed packaged assets — the companion `wecom-calendar` Skill — into the CLI binary, so that `wecom-calendar-cli skill install` can deploy a version-matched copy regardless of how the binary itself was installed (npm, go install, prebuilt, source).
Index ¶
Constants ¶
View Source
const SkillRoot = "skills/wecom-calendar"
SkillRoot is the path within SkillFS at which the Skill is rooted.
Variables ¶
View Source
var SkillFS embed.FS
SkillFS holds the companion Skill, rooted at "skills/wecom-calendar".
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gen-docs
command
Command gen-docs renders the wecom-calendar-cli command tree into reference documentation under docs/cli/:
|
Command gen-docs renders the wecom-calendar-cli command tree into reference documentation under docs/cli/: |
|
wecom-calendar-cli
command
|
|
|
internal
|
|
|
app
Package app wires the cobra command tree and runs the CLI.
|
Package app wires the cobra command tree and runs the CLI. |
|
auth
Package auth models WeCom CalDAV credentials, resolves them from configuration or secure storage, and applies them to outgoing HTTP requests.
|
Package auth models WeCom CalDAV credentials, resolves them from configuration or secure storage, and applies them to outgoing HTTP requests. |
|
cliflags
Package cliflags rewrites argv before cobra parses it, absorbing two common slips an LLM makes when generating a command line:
|
Package cliflags rewrites argv before cobra parses it, absorbing two common slips an LLM makes when generating a command line: |
|
config
Package config resolves CLI configuration from layered sources: CLI flags, environment variables, a .env file, a YAML config file and built-in defaults, in that precedence order (highest first).
|
Package config resolves CLI configuration from layered sources: CLI flags, environment variables, a .env file, a YAML config file and built-in defaults, in that precedence order (highest first). |
|
expand
Package expand rebuilds the derived event_instances table: it expands recurring masters into occurrences (applying EXDATE and RECURRENCE-ID overrides) and folds the same logical event appearing under several calendars into a single occurrence keyed by (uid, occurrence_key).
|
Package expand rebuilds the derived event_instances table: it expands recurring masters into occurrences (applying EXDATE and RECURRENCE-ID overrides) and folds the same logical event appearing under several calendars into a single occurrence keyed by (uid, occurrence_key). |
|
ical
Package ical parses the iCalendar (RFC 5545) bodies returned by the WeCom CalDAV server into structured events.
|
Package ical parses the iCalendar (RFC 5545) bodies returned by the WeCom CalDAV server into structured events. |
|
output
Package output renders command results for either agents or humans.
|
Package output renders command results for either agents or humans. |
|
store
Package store is the local SQLite persistence layer: a faithful raw-fact mirror of the CalDAV calendars/resources/events, a sync audit trail, derived instances, and a separate agent-owned metadata layer.
|
Package store is the local SQLite persistence layer: a faithful raw-fact mirror of the CalDAV calendars/resources/events, a sync audit trail, derived instances, and a separate agent-owned metadata layer. |
|
sync
Package sync orchestrates a CalDAV -> local store pull.
|
Package sync orchestrates a CalDAV -> local store pull. |
|
update
Package update reports whether a newer wecom-calendar-cli release is available.
|
Package update reports whether a newer wecom-calendar-cli release is available. |
|
pkg
|
|
|
caldav
Package caldav is a minimal, purpose-built CalDAV client for the WeCom (Tencent Exmail) calendar server.
|
Package caldav is a minimal, purpose-built CalDAV client for the WeCom (Tencent Exmail) calendar server. |
|
constants
Package constants holds project-wide constants and build-time metadata.
|
Package constants holds project-wide constants and build-time metadata. |
|
errors
Package errors defines the structured error model used across the CLI.
|
Package errors defines the structured error model used across the CLI. |
|
transport
Package transport provides a flavor-agnostic HTTP layer: a thin client that applies request decorators (auth, user-agent) and retries transient failures.
|
Package transport provides a flavor-agnostic HTTP layer: a thin client that applies request decorators (auth, user-agent) and retries transient failures. |
Click to show internal directories.
Click to hide internal directories.
