CliAiCodeGroup class abstract

Abstract class for creating AI code groups.

AIコードグループを作成するための抽象クラス。

Inheritance

Constructors

CliAiCodeGroup()
Abstract class for creating AI code groups.
const

Properties

children → Map<String, CliAiCode>
Defines a list of subcommands.
no setter
description → String
Define the description of the code.
no setterinherited
directory → String
Specify the folder where the code will be generated.
no setterinherited
globs → String
Define the file extension.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
name → String
Define the name of the code.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply(ExecContext context) → bool
Defines whether to apply this code based on the contents of context.
inherited
body(String baseName, String className) → String
Defines the actual body code. path is passed relative to lib, baseName is the filename, and className is the filename converted to Pascal case.
override
generateAiCode(String path, {String ext = "md", String defaultDirectory = "documents/rules", String filter(String value)?, bool includeName = true}) → Future<void>
Generate md code in path.
inherited
generateMcpSetting() → DynamicMap?
Generate MCP setting code.
inherited
Defines the actual header code. path is passed relative to lib, baseName is the filename, and className is the filename converted to Pascal case.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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