GitClaudeCodeCliCode class
Contents of claude_code.yaml.
claude_code.yamlの中身。
Constructors
- GitClaudeCodeCliCode({required String model, String? actionsRepositoryName, Directory? workingDirectory, bool useApiKey = false})
-
Contents of claude_code.yaml.
const
Properties
- actionsRepositoryName → String?
-
Name of the Actions repository to be used.
final
- description → String
-
Defines the outline of the code.
no setteroverride
- directory → String
-
Specify the folder where the code will be generated.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → String
-
Name of the model to be used.
final
- name → String
-
Defines the name of the code.
no setteroverride
- prefix → String
-
Defines the code prefix.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useApiKey → bool
-
Whether to use the API key.
final
- workingDirectory → Directory?
-
Working Directory.
final
Methods
-
body(
String path, String baseName, String className) → String -
Defines the actual body code.
path
is passed relative tolib
,baseName
is the filename, andclassName
is the filename converted to Pascal case.override -
generateDartCode(
String path, String className, {String ext = "dart", String filter(String value)?}) → Future< void> -
Generate Dart code in
path
.inherited -
generateFile(
String fileName, {String filter(String value)?}) → Future< void> -
Create a specific file in directory/
fileName
.inherited -
header(
String path, String baseName, String className) → String -
Defines the actual header code.
path
is passed relative tolib
,baseName
is the filename, andclassName
is the filename converted to Pascal case.override -
import(
String path, String baseName, String className) → String -
Define the actual import code.
path
is passed relative tolib
,baseName
is the filename, andclassName
is the filename converted to Pascal case.override -
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