errorIfNotProjectRoot method
Implementation
bool errorIfNotProjectRoot(AFCommandContext ctx) {
if(!AFProjectPaths.inRootOfAfibProject(ctx)) {
ctx.output.writeErrorLine("Please run the $name command from the project root");
return false;
}
return true;
}