Lines Matching refs:args
21 import 'package:args/args.dart';
38 main(List<String> args) {
49 results = parser.parse(args);
82 var args = parts.length > 1 ? parts.sublist(1) : [];
90 await _add(int.parse(args[0]), int.parse(args[1]));
94 int op = operationLookup[args[1]];
96 stdout.writeln('Unknown operator ${args[1]}');
101 ..num1 = int.parse(args[0])
103 ..num2 = int.parse(args[2])
104 ..comment = args.length > 3 ? args[3] : '';
110 await _struct(int.parse(args[0]));