-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Milestone
Description
As GeoServer has a large REST API and since we may also be adding additional features in the future, let's organize our CLI client in a hierarchical way, grouping commands in some logical sense. Perhaps starting out by mimicking the sections that exist on the GeoServer UI (layers, stores, workspaces, etc.).
We can use typer subcommands for this. The end result would look something like this:
# main help would show a list of subcommands
gsx --help
_Commands__________________________________________
| layer Layer management commands
| store Store management commands
| workspace Workspace management commands
|____________________________________________________
# subcommand help shows a list of commands
gsx layer --help
_Commands__________________________________________
| add Add a new layer
| edit Edit existing layer
| delete Delete existing layer
|____________________________________________________
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In review