Project

General

Profile

Feature #16811

Allow for multiple validation blocks in option to be defined

Added by David Davis almost 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer core
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

I have a module that defines some option validation and it can be called multiple times. In order to do this, I need to be able to set multiple validation blocks. I tried to write something that could be called from within 'validation_options' but the code there is executed within HammerCLI::Validator so I don't think that'll work.

Associated revisions

Revision 4eb9f29b (diff)
Added by David Davis almost 3 years ago

Fixes #16811 - Allow multiple opt validation blocks

History

#1 Updated by David Davis almost 3 years ago

  • Tracker changed from Bug to Feature

#2 Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli/pull/220 added

#3 Updated by Anonymous almost 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Tomáš Strachota over 2 years ago

  • Legacy Backlogs Release (now unused) set to 235

Also available in: Atom PDF