Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ repos:
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: ^(client/|src/workato_platform/client/)
exclude: ^(client/|src/workato_platform_cli/client/)
- id: end-of-file-fixer
exclude: ^(client/|src/workato_platform/client/)
exclude: ^(client/|src/workato_platform_cli/client/)
- id: check-yaml
- id: check-added-large-files
- id: check-json
Expand All @@ -17,9 +17,9 @@ repos:
rev: v0.13.0
hooks:
- id: ruff
exclude: ^(client/|src/workato_platform/client/)
exclude: ^(client/|src/workato_platform_cli/client/)
- id: ruff-format
exclude: ^(client/|src/workato_platform/client/)
exclude: ^(client/|src/workato_platform_cli/client/)

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.18.1
Expand All @@ -44,7 +44,7 @@ repos:
pytest-mock>=3.10.0,
prompt-toolkit>=3.0.0,
]
exclude: ^(client/|src/workato_platform/client/)
exclude: ^(client/|src/workato_platform_cli/client/)

# pip-audit for dependency security auditing
- repo: https://github.com/pypa/pip-audit
Expand Down
8 changes: 4 additions & 4 deletions docs/DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ workato --help
7. **Monitor** - Track execution with `workato recipes jobs`

## Project Structure
- `workato_platform/` - Main package with API client and utilities
- `workato_platform/cli/commands/` - Individual CLI command implementations
- `workato_platform/client/` - API client and data models
- `workato_platform_cli/` - Main package with API client and utilities
- `workato_platform_cli/cli/commands/` - Individual CLI command implementations
- `workato_platform_cli/client/` - API client and data models
- `setup.py` - Package configuration with dependencies (click, requests, inquirer, pydantic)

This CLI is specifically designed for AI-assisted development of Workato automation recipes, providing validation, connection management, and deployment capabilities.
Expand Down Expand Up @@ -92,7 +92,7 @@ workato init
pip show workato-platform-cli

# If command still not found, try running directly:
python -m workato_platform.cli.main --help
python -m workato_platform_cli.cli.main --help
```

## Contributing to the CLI
Expand Down
4 changes: 2 additions & 2 deletions scripts/parse_connection_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ def main() -> None:
input_file = Path(__file__).parent.parent / "connections-parameters.md"
output_file = (
Path(__file__).parent.parent
/ "workato_platform"
/ "workato_platform_cli"
/ "cli"
/ "data"
/ "connection-data.json"
)
output_simple = (
Path(__file__).parent.parent
/ "workato_platform"
/ "workato_platform_cli"
/ "cli"
/ "data"
/ "connection-data-simple.json"
Expand Down
2 changes: 1 addition & 1 deletion src/workato_platform_cli/cli/commands/recipes/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def __init__(

# Cache settings
self._cache_file = (
Path.home() / ".workato_platform" / "cli" / "connector_cache.json"
Path.home() / ".workato_platform_cli" / "cli" / "connector_cache.json"
)
self._cache_ttl_hours = 24 # Cache for 24 hours
self._last_cache_update = None
Expand Down