0 purchases
pro
A Command line Api library for Dart developers.
Usage #
command line apps for small things...
your app.dart file example:
import 'package:alm/alm.dart';
import 'package:pro/pro.dart';
void main(List<String> arguments) async {
/// actions [start stop restart status] available else running the loop
if (!await Pro(arguments).checkAction()) return;
Pro.log('hello world!!!');
while (true) {
await Alm.delaySecond();
Pro.log('tick:${Alm.timeId()}');
}
}
copied to clipboard
Usage only Command Line #
tested only linux and macos
$ dart example/app.dart
$ dart example/app.dart start
$ dart example/app.dart stop
$ dart example/app.dart restart
$ dart example/app.dart status
copied to clipboard
....
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.