Skip to content

Commit c99243b

Browse files
committed
chore: release new version
1 parent 08c77af commit c99243b

File tree

3 files changed

+43
-9
lines changed

3 files changed

+43
-9
lines changed

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1-
## 0.8.0-dev.3
2-
- Experimental support for positional arguments
1+
## 0.8.0
2+
### BREAKING CHANGES
3+
- Support for positional arguments: `${0}`, `${1}` ...
4+
- To use references use `rps` instead of `$` prefix.
5+
### Additional changes
6+
- Added list command: `rps ls`
7+
- Lists all available commands
8+
- Added upgrade command: `rps -u` / `rps --upgrade`
9+
- Improved help command `rps -h` / `rps --help`
10+
- Updated readme documentation.
311
## 0.7.0
412

513
### BREAKING CHANGES

README.md

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

1617
1. 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
```
2021
2. 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
3965
Nest your commands to group them contextually and make them easier to understand.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: rps
22
description: rps (Run Pubspec Script) allows you to define and run scripts from pubspec.yaml.
3-
version: 0.8.0-dev.3
3+
version: 0.8.0
44
repository: https://github.com/gonuit/rps
55
homepage: https://github.com/gonuit/rps
66
issue_tracker: https://github.com/gonuit/rps/issues

0 commit comments

Comments
 (0)