ScriptArgument class
DBStyleGuideChecker script arguments.
Contains all the argument supported by the script.
Constructors
- ScriptArgument({required String projectType, required Directory projectDir, required File codeStyle, String? reporterType, File? reporterOutputFile, VcsArgument? vcs})
-
const
- ScriptArgument.from(ArgResults argResults)
-
Create a ScriptArgument from the provided
argResults
.factory
Properties
- codeStyle → File
-
Code style that the checker will use to check for violations.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- projectDir → Directory
-
Project directory where the style checker will be executed.
final
- projectType → String
-
Type of project the script is running against.
final
- reporterOutputFile → File?
-
Output file where the CodeStyleViolationsReporter
should report founded code style violations if supported by the reporter.
final
- reporterType → String?
-
Type of reporter to use.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vcs → VcsArgument?
-
VCS configuration to be use by the CodeStyleViolationsReporter
to report code violations issues.
final
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