rootDir property

String rootDir

Get the root directory from the root arg, or Directory.current if not present.

Implementation

String get rootDir =>
    Utils.getFinalDir(args['root'] ?? argResults?['root'] ?? '');