Expand description
Configuration: profile-based TOML at ~/.config/sharepoint/config.toml,
merged with SHAREPOINT_* env vars and CLI flags.
There is intentionally no separate [default] section. The active profile
is whichever block matches [profile.<name>]; the literal name default
plays the special-default role.
Structs§
- Config
File - Profile
- Resolved
Config - Fully resolved runtime settings (after merging file + env + flags).
Constants§
- DEFAULT_
GRAPH_ ENDPOINT - DEFAULT_
LOGIN_ ENDPOINT - DEFAULT_
PROFILE - ENV_
ACCESS_ TOKEN - ENV_
CLIENT_ ID - ENV_
DEBUG_ HTTP - ENV_
DEFAULT_ SITE - ENV_
GRAPH_ ENDPOINT - ENV_
LOGIN_ ENDPOINT - ENV_
PROFILE - ENV_
READ_ ONLY - ENV_
REFRESH_ TOKEN - ENV_
TENANT
Functions§
- config_
path - load_
file - resolve
- Merge a
ConfigFilewith environment variables and explicit CLI flags. - save_
file - token_
cache_ path - write_
profile_ tenant_ id - Update a profile’s tenant_id in the file and persist atomically.