pro 0.0.2 copy "pro: ^0.0.2" to clipboard
pro: ^0.0.2 copied to clipboard

outdated

A starting point for Dart Process Api package, for Using commondline app to Easyly access start stop restart commands, see demo or examples.

A RestFul Api library for Dart developers.

Created from templates made available by Stagehand under a BSD-style license.

Usage #

restful api 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()}');
  }
}

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

....

1
likes
10
pub points
22%
popularity

Publisher

unverified uploader

A starting point for Dart Process Api package, for Using commondline app to Easyly access start stop restart commands, see demo or examples.

Homepage

License

unknown (LICENSE)

Dependencies

alm, process_run

More

Packages that depend on pro