v0.19.0
v0.19.0 (2025-12-16)
Features
-
Improve workspace list command with pagination and filtering (
1524f82) -
Add _fetch_all_workspaces() helper with proper pagination using take=100 and skip
-
API's max take parameter is 100, use skip and totalCount for multi-page retrieval
-
Add --filter flag for case-insensitive substring matching on workspace names
-
Update disable_workspace and get_workspace to use pagination helper
-
Update _get_workspace_map to use the helper for consistency
-
Documentation updated with new filtering examples
Changes:
- slcli/workspace_click.py: Added pagination helper and --filter option
- README.md: Updated workspace list command examples with new features
Testing:
- All 266 unit tests passing
- mypy type checking clean
- linting clean
Testing
-
Add comprehensive tests for workspace pagination and filtering (
68adf16) -
test_list_workspaces_with_filter: Test --filter flag with substring matching
-
test_list_workspaces_filter_json: Test --filter with JSON output format
-
test_list_workspaces_pagination: Test pagination with skip/totalCount handling
-
test_list_workspaces_filter_case_insensitive: Test case-insensitive filtering
All tests pass (270 total, +4 new tests) mypy: clean linting: clean
What's Changed
- feat: improve workspace list with pagination and filtering by @fredvisser in #35
Full Changelog: v0.18.0...v0.19.0