Skip to content

cli: Define common methods for locking in `cli.Application`

Dduvall requested to merge master-I53f3f24cd0dd791d6c2eb7dbb02d8540e4fbd296 into master

There seem to be common patterns among many of the cli.Application
classes where the subcommand name is repeated and announcements are
called in conventional ways.

Formalize these patterns as common lock and lock_and_announce
methods of the base class and factor out the repetition.


Related MRs:

Edited by Dduvall

Merge request reports