feat: add -d- flag support to create commands

Description

  • feat: add -d- flag support to create commands

This adds support for the -d- pattern to directly open an external editor when creating merge requests, issues, snippets, and projects.

Changes:

  • mr create: Support -d- to open external editor for description
  • issue create: Support -d- to open external editor for description
  • snippet create: Support -d- to open external editor for description
  • project create: Support -d- to open external editor for description

This brings consistency with the update commands (mr update, issue update) which already support the -d- pattern. When users specify -d-, their configured external editor opens directly with the content, allowing them to write descriptions without going through interactive prompts.

Example usage: glab mr create -t "Title" -d- glab issue create -t "Title" -d- glab snippet create -t "Title" -d- file.txt glab project create -n "Name" -d-

Resolves #[issue_number]

How has this been tested?

Screenshots (if appropriate):

Merge request reports

Loading