Skip to content

Improve project create command#27

Merged
welias merged 3 commits into
mainfrom
improve-project-commands
May 19, 2026
Merged

Improve project create command#27
welias merged 3 commits into
mainfrom
improve-project-commands

Conversation

@welias
Copy link
Copy Markdown
Collaborator

@welias welias commented May 19, 2026

What changed

  • add projects types to list valid project type IDs from the API
  • extend projects create to accept --assign and --estimated-hours
  • validate that at least one asset is provided before creating a project
  • improve project creation error messages for invalid project type and missing assets
  • update the CLI version to 0.3.10
  • document the new project creation flow in the README

Why

Creating projects required users to guess valid typeId values and provided poor feedback when the API rejected required fields. It also did not allow setting assignees or estimated hours during creation.

Impact

Users can now discover valid project types directly from the CLI and create projects with assignees, estimated hours, and clearer validation guidance.

Validation

  • PYTHONPATH=src .venv/bin/python -m py_compile src/conviso/commands/projects.py src/conviso/schemas/project_types_schema.py
  • PYTHONPATH=src .venv/bin/python -m conviso.app projects create --help
  • PYTHONPATH=src .venv/bin/python -m conviso.app projects types --limit 3
  • manual API validation by creating a project successfully after supplying a valid --type-id and --assets

@welias welias marked this pull request as ready for review May 19, 2026 14:06
@welias welias merged commit fb82272 into main May 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant