line_dot_dot 0.1.1 line_dot_dot: ^0.1.1 copied to clipboard
A command line interaction toolkit.
example/line_dot_dot_example.dart
import 'package:line_dot_dot/line_dot_dot.dart';
void main() async {
await CommandLineAnimation.lineDotDot(
future: Future.delayed(Duration(seconds: 1)),
prompt: 'Loading',
);
var exitCode = await CommandLineHelper.runProcess(
'ls',
['-l'],
);
print('Process finished with exit code $exitCode');
}