linear-cli icon indicating copy to clipboard operation
linear-cli copied to clipboard

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

Open jrschumacher opened this issue 6 months ago • 0 comments

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

jrschumacher avatar May 26 '26 08:05 jrschumacher