context property

Future<CliContext> get context

The resolved context, memoised for the command's lifetime.

Implementation

Future<CliContext> get context async => _context ??= await contextFactory();