run method

  1. @override
Future<void> run(
  1. LocalCommandContext context,
  2. List<String> args
)

Runs the command with parsed args.

Implementation

@override
Future<void> run(LocalCommandContext context, List<String> args) async {
  context.writeLine('ai: no provider configured.');
  context.writeLine(
    'Open Settings to use the Hub default or set your own API key.',
  );
  openSettings();
}