requireProject property

Project get requireProject

The project. Only call this from commands that need one; dpk loads the project before running them.

Implementation

Project get requireProject =>
    project ??
    (throw ProjectException(
      'This command needs a dpk project. Run "dpk init" to create one.',
    ));