Documentation
¶
Overview ¶
Package settings implements the `olares-cli settings` umbrella command tree. Identity (which Olares user) and transport (which cluster) are resolved from the currently-selected profile via cmdutil.Factory (switch with `olares-cli profile use <name>`), exactly like `olares-cli files` and `olares-cli market`.
The subtree mirrors the 12 canonical sections of the Olares Settings UI documented at https://docs.olares.com/manual/olares/settings/, plus a 13th, non-canonical "me" sub-tree that hosts the SPA's avatar/Person dropdown self-service items (whoami / version / check-update / SSO list). This sub-tree is intentionally *outside* the 12 docs sections and is documented as such in its own package — it ships under `settings` for discoverability, not because it's a docs section.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSettingsCommand ¶
NewSettingsCommand assembles the `olares-cli settings` subtree. Every area is wired here so the umbrella's --help is the directory of available areas from day one — even when individual verbs are still pending.
Authentication and transport are inherited from the shared cmdutil.Factory (set up in cli/cmd/ctl/root.go) so the currently-selected profile flows through unchanged. No per-command auth flags, and no per-invocation profile override — switch with `olares-cli profile use <name>` ahead of time.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package advanced hosts `olares-cli settings advanced` (the SPA's Developer/ folder, surfaced as "Advanced" in the docs).
|
Package advanced hosts `olares-cli settings advanced` (the SPA's Developer/ folder, surfaced as "Advanced" in the docs). |
|
Package appearance hosts `olares-cli settings appearance`.
|
Package appearance hosts `olares-cli settings appearance`. |
|
Package apps hosts the `olares-cli settings apps ...` subtree.
|
Package apps hosts the `olares-cli settings apps ...` subtree. |
|
Package backup hosts `olares-cli settings backup`.
|
Package backup hosts `olares-cli settings backup`. |
|
Package gpu hosts `olares-cli settings gpu`.
|
Package gpu hosts `olares-cli settings gpu`. |
|
Package integration hosts `olares-cli settings integration`.
|
Package integration hosts `olares-cli settings integration`. |
|
internal
|
|
|
preflight
Package preflight is the soft role-gate adapter shared by every `olares-cli settings` area.
|
Package preflight is the soft role-gate adapter shared by every `olares-cli settings` area. |
|
Package me hosts the `olares-cli settings me ...` self-service subtree.
|
Package me hosts the `olares-cli settings me ...` self-service subtree. |
|
Package network hosts `olares-cli settings network`.
|
Package network hosts `olares-cli settings network`. |
|
Package restore hosts `olares-cli settings restore`.
|
Package restore hosts `olares-cli settings restore`. |
|
Package search hosts `olares-cli settings search`.
|
Package search hosts `olares-cli settings search`. |
|
Package users hosts the `olares-cli settings users ...` subtree.
|
Package users hosts the `olares-cli settings users ...` subtree. |
|
Package video hosts `olares-cli settings video`.
|
Package video hosts `olares-cli settings video`. |
|
Package vpn hosts `olares-cli settings vpn`.
|
Package vpn hosts `olares-cli settings vpn`. |