Skip to content

feat(commands/mr/create): prompt for labels with --autofill

Kerri Miller requested to merge github/fork/maxice8/prompt into trunk

Created by: maxice8

Description

Split the cmdutils.LabelsPrompt logic into its own block that checks.

  1. Is it interactive ?
  2. was --autofill used but --yes not used, OR
  3. was --autofill not used

Related Issue

Resolves #448 (closed)

How Has This Been Tested?

See screenshots:

Screenshots (if appropriate): interative-autofill-1 interative-autofill-2 interative-autofill-3

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)

Merge request reports