Add testsuite for argument parser
This commit is contained in:
parent
7d045bd49f
commit
6d87807863
4 changed files with 45 additions and 4 deletions
|
@ -3,7 +3,8 @@ import 'package:libac_dart/argparse/Args.dart';
|
|||
class StringArgument extends Argument<String> {
|
||||
final String value;
|
||||
|
||||
StringArgument({required super.name, required this.value}) {
|
||||
StringArgument(
|
||||
{required super.name, required this.value, super.description}) {
|
||||
hasValue = value.isNotEmpty;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue