openci_worker_cli 2.3.11
openci_worker_cli: ^2.3.11 copied to clipboard
OpenCI Worker CLI - A CI/CD worker for OpenCI
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate openci_worker_cliUse it
The package has the following executables:
$ openci_worker
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add openci_worker_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
openci_worker_cli: ^2.3.11Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:openci_worker_cli/api/openci_api_client.dart';
import 'package:openci_worker_cli/args.dart';
import 'package:openci_worker_cli/auto_updater.dart';
import 'package:openci_worker_cli/build_job_logger.dart';
import 'package:openci_worker_cli/cloud_function_caller.dart';
import 'package:openci_worker_cli/constants.dart';
import 'package:openci_worker_cli/docker_job_executor.dart';
import 'package:openci_worker_cli/docker_runner.dart';
import 'package:openci_worker_cli/firebase.dart';
import 'package:openci_worker_cli/get_secret_service.dart';
import 'package:openci_worker_cli/heartbeat.dart';
import 'package:openci_worker_cli/job_executor.dart';
import 'package:openci_worker_cli/log.dart';
import 'package:openci_worker_cli/poller.dart';
import 'package:openci_worker_cli/supervisor.dart';
import 'package:openci_worker_cli/vm.dart';
import 'package:openci_worker_cli/worker_config.dart';