agent_device 0.0.5
agent_device: ^0.0.5 copied to clipboard
Agent-enabled CLI and library for mobile UI automation, network inspection, and performance diagnostics across iOS and Android. Dart port of the TypeScript agent-device project.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate agent_deviceUse it
The package has the following executables:
$ ad
$ agent-device
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add agent_deviceWith Flutter:
$ flutter pub add agent_deviceThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
agent_device: ^0.0.5Alternatively, 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:agent_device/agent_device.dart';