@@ -5,17 +5,18 @@ RPS is a dart script manager that allows you to define and use scripts from the
55
66## Features
77<!-- no toc -->
8- - [ 🪆 Nesting] ( #nesting )
9- - [ 🔗 References] ( #references )
10- - [ 🪝 Hooks] ( #hooks )
11- - [ 💻 Platform specific scripts] ( #platform-specific-scripts )
12- - [ 🎯 Positional arguments] ( #positional-arguments )
8+ - [ 🔦 Listing commands] ( #-listing-commands )
9+ - [ 🪆 Nesting] ( #-nesting )
10+ - [ 🔗 References] ( #-references )
11+ - [ 🪝 Hooks] ( #-hooks )
12+ - [ 💻 Platform specific scripts] ( #-platform-specific-scripts )
13+ - [ 🎯 Positional arguments] ( #-positional-arguments )
1314
1415## Quick start 🚀
1516
16171 . Install this package.
1718 ``` bash
18- dart pub global activate rps --version 0.8.0-dev.3
19+ dart pub global activate rps --version 0.8.0
1920 ```
20212. Define scripts inside the pubspec.yaml
2122 ` ` ` yaml
@@ -34,6 +35,31 @@ RPS is a dart script manager that allows you to define and use scripts from the
3435
3536# Features
3637
38+ # # 🔦 Listing commands
39+
40+ Not sure what command to choose? Add a description to your scripts:
41+
42+ ` ` ` yaml
43+ scripts:
44+ build:
45+ web:
46+ $script : flutter build web --flavor production -t lib/main.dart
47+ $description : Builds a web application
48+ android:
49+ $script : flutter build apk --flavor production -t lib/main.dart
50+ $description : Builds an Android app
51+ ` ` `
52+
53+ Then type ` rps ls` to preview all of them:
54+
55+ ```
56+ Commands:
57+ build web (flutter build web --flavor production -t lib/main.dart)
58+ Builds a web application
59+ build android (flutter build apk --flavor production -t lib/main.dart)
60+ Builds an Android app
61+ ```
62+
3763## 🪆 Nesting
3864
3965Nest your commands to group them contextually and make them easier to understand.
0 commit comments