dart_service_manager 1.2.1 copy "dart_service_manager: ^1.2.1" to clipboard
dart_service_manager: ^1.2.1 copied to clipboard

Declare services in a Dart package, compile them to native executables, and install and manage them as native operating-system services on Linux (systemd), macOS (launchd) and Windows (SCM). Ships a r [...]

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate dart_service_manager

Use it

The package has the following executables:

$ dart-service

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_service_manager

With Flutter:

 $ flutter pub add dart_service_manager

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dart_service_manager: ^1.2.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dart_service_manager/dart_service_manager.dart';
1
likes
150
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Declare services in a Dart package, compile them to native executables, and install and manage them as native operating-system services on Linux (systemd), macOS (launchd) and Windows (SCM). Ships a reusable library and a thin `dart-service` CLI behind a first-class Dart API.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

args, meta, path, yaml

More

Packages that depend on dart_service_manager