ShellScriptParameterizer class

A utility class for parameterizing shell scripts by injecting or replacing variables and values within the script content.

Use this class to safely and programmatically modify shell scripts, enabling dynamic script generation and execution.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

generateBuildScriptMethod() String
Generates a helper method for building a script with arguments
generateDartParameterMethod(String methodName, String scriptContent, List<ShellParameter> parameters, bool allowRawParameters) String
Generates Dart code for creating a script with parameters