Skip to content
pubscout

rps

0.10.1, released 7 months ago by klyta.it

Run and manage scripts defined in pubspec.yaml or rps.yaml from the command line

$ flutter pub add rps
Source repository

What it does

RPS lets you define shell commands in your pubspec or a separate rps.yaml file and execute them with a simple CLI. It supports nested commands, hooks, platform‑specific scripts, positional arguments and references.

AI-written summary of version 0.10.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want a lightweight script runner without writing separate Dart scripts
  • You need to keep long flutter or build commands in pubspec for CI or local use
  • You want to share scripts across a team via pubspec

Skip it when

  • You need complex task orchestration with dependencies beyond simple shell commands
  • You are building a full CI/CD pipeline that requires advanced tooling

Strengths

  • Simple YAML configuration, no code generation
  • Built‑in hooks and references for reusable workflows
  • Platform‑specific script support
  • Positional arguments and external rps.yaml

Weaknesses

  • Limited to shell commands, no Dart API integration
  • No advanced dependency graph or parallel execution
  • Requires Dart SDK and global activation

Setup

Kind
FFI (native library)
Effort
Low
Code generation
Yes (build_runner)
Direct dependencies
8

dart pub global activate rps

```yaml
scripts:
  build:
    web: flutter build web --flavor production -t lib/main.dart
    android: flutter build apk --flavor production -t lib/main.dart
```

Alternatives

Packages that do the same job and could replace rps.

Works with

Packages commonly used together with rps: ones it builds on, ones built on it, and its own family.