needsProject property

bool get needsProject

Whether the command can only run inside a dpk project.

Implementation

bool get needsProject =>
    command != null && !help && !projectlessCommands.contains(command);