-
Notifications
You must be signed in to change notification settings - Fork 54
GC CLI Tool with Authentication #247
Copy link
Copy link
Labels
cliCommand line interfaceCommand line interfacecomponent:ground-controlGround Control componentGround Control componentenhancementNew feature or requestNew feature or requestpriority:mediumMedium priority issueMedium priority issue
Metadata
Metadata
Assignees
Labels
cliCommand line interfaceCommand line interfacecomponent:ground-controlGround Control componentGround Control componentenhancementNew feature or requestNew feature or requestpriority:mediumMedium priority issueMedium priority issue
Type
Projects
Status
Next
Context
Ground Control needs a CLI tool for administrators to manage satellites, groups, and configs without using the REST API directly.
Current State
Expected Behavior
CLI binary
gcctlwith:gcctl login- authenticate and store sessiongcctl logout- clear sessiongcctl whoami- show current userConfig stored at
~/.gcctl/config.yaml:Features:
Value
Changes to be Made
logincommandlogoutcommandwhoamicommandFiles to Create
ground-control/cmd/gcctl/main.goground-control/cmd/gcctl/auth.goground-control/cmd/gcctl/config.go