Expand description
sharepoint-cli library — re-exports for integration tests.
Modules§
- auth
- Authentication subsystem (device-code flow only in v0.1).
- cli
- CLI entry point: clap derive structs and the
rundispatcher. - commands
- Command implementations dispatched from
cli.rs. - config
- Configuration: profile-based TOML at
~/.config/sharepoint/config.toml, merged withSHAREPOINT_*env vars and CLI flags. - error
- Error types and exit code mapping.
- graph
- Microsoft Graph client.
- output
- Output configuration: TTY detection, JSON/table/quiet modes, color, and the JSON-error-on-stdout contract.
- reference
- Reference parsing: turns whatever the user types into a structured
ParsedRef { site, library, path }without touching the network.