16 lines
No EOL
354 B
Dart
16 lines
No EOL
354 B
Dart
import 'package:libac_dart/utils/IOTools.dart';
|
|
|
|
Future<void> main(List<String> args) async {
|
|
int seconds = int.parse(args[0]);
|
|
await prnt("\rPlease Wait $seconds second(s)...");
|
|
|
|
while(seconds>=0) {
|
|
|
|
await Future.delayed(Duration(seconds: 1));
|
|
await prnt("\rPlease Wait $seconds second(s)...");
|
|
|
|
seconds--;
|
|
}
|
|
|
|
await prnt("\r\n");
|
|
} |