Skip to content

feat(project): add --description-file and doc 255-char API limit#227

Open
jrschumacher wants to merge 1 commit into
schpet:mainfrom
jrschumacher:fix/224-project-description-limit
Open

feat(project): add --description-file and doc 255-char API limit#227
jrschumacher wants to merge 1 commit into
schpet:mainfrom
jrschumacher:fix/224-project-description-limit

Conversation

@jrschumacher
Copy link
Copy Markdown

The Linear API rejects project descriptions longer than 255 characters, but the CLI didn't document the limit or offer a way to work around the shell-quoting friction of long inline strings.

  • Add --description-file to project create and project update, mirroring document create's --content-file. Mutually exclusive with --description.
  • Pre-validate description length client-side with a ValidationError that points users at --description-file or attaching a Document, so they don't have to wait for the API to reject the request.
  • Update --help text on both commands to mention the 255-char limit.

Closes #224

…schpet#224)

The Linear API rejects project descriptions longer than 255 characters,
but the CLI didn't document the limit or offer a way to work around the
shell-quoting friction of long inline strings.

- Add --description-file to project create and project update, mirroring
  document create's --content-file. Mutually exclusive with --description.
- Pre-validate description length client-side with a ValidationError that
  points users at --description-file or attaching a Document, so they
  don't have to wait for the API to reject the request.
- Update --help text on both commands to mention the 255-char limit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

project create/update --description has undocumented 255-char hard cap

1 participant