add consolidated methods, update cli

This commit is contained in:
2026-01-19 11:50:51 -05:00
parent b4f49be2c6
commit 63ef233357
3 changed files with 83 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
package edgeos
// EdgeOS combines all device information into one response.
type EdgeOS struct {
AuthInfo *AuthResponse `json:"authInfo,omitempty"`
Config *ConfigData `json:"config,omitempty"`
}
// AuthResponse represents the authentication response from login2 endpoint.
type AuthResponse struct {
Username string `json:"username"`