CLI
cdse.cli
Command-line interface for CDSE Client.
main(args: Optional[list[str]] = None) -> int
Main entry point for CLI.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
args
|
Optional[list[str]]
|
Command line arguments (default: sys.argv) |
None
|
Returns:
| Type | Description |
|---|---|
int
|
Exit code (0 for success, non-zero for errors) |
cmd_search(client_id: str, client_secret: str, args: argparse.Namespace) -> int
Execute search command.
cmd_download(client_id: str, client_secret: str, args: argparse.Namespace) -> int
Execute download command.
cmd_collections(client_id: str, client_secret: str) -> int
Execute collections command.