AiSetupCommand class

A placeholder :ai shown when no provider is configured; points at Settings.

Constructors

AiSetupCommand(void openSettings())
Creates a setup stub.

Properties

aliases List<String>
Aliases that also invoke this command.
no setterinherited
description String
A one-line description shown by :help.
no setter
hashCode int
The hash code for this object.
no setterinherited
name String
The command name (without the leading :).
no setter
openSettings → void Function()
Opens the settings panel so the user can configure AI.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
usage String?
Optional multi-line usage/help text shown under the listing by :help.
no setterinherited

Methods

dispose() Future<void>
Releases any resources the command holds (e.g. an HTTP client / open sockets), so they do not keep the process alive after the session ends. Called by LocalCommandRegistry.dispose; the default is a no-op.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(LocalCommandContext context, List<String> args) Future<void>
Runs the command with parsed args.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited