Skip to content

Commit b54a2e5

Browse files
committed
chore: prepare v0.7.6
1 parent d9f6b73 commit b54a2e5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+6260
-124
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [0.7.6](https://github.com/jersou/clite-parser/compare/0.7.5...0.7.6) (2024-11-07)
2+
3+
### Features
4+
5+
- keep decorators on extends
6+
([d9f6b73](https://github.com/jersou/clite-parser/commit/d9f6b7320ee77eb4e3838a765170c496f4158978))
7+
18
## [0.7.5](https://github.com/jersou/clite-parser/compare/0.7.4...0.7.5) (2024-11-07)
29

310
### Features

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ add aliases (for example) to complete your CLI.
1515

1616
```typescript
1717
#!/usr/bin/env -S deno run
18-
import { cliteRun } from "jsr:@jersou/clite@0.7.5";
18+
import { cliteRun } from "jsr:@jersou/clite@0.7.6";
1919
// or import { cliteRun } from "@jersou/clite"; // after "deno add @jersou/clite"
2020
// or import { cliteRun } from "clite-parser"; // after "npm install clite-parser" for Node usage
2121

@@ -86,7 +86,7 @@ Several examples can be found in the [examples/](./examples) folder.
8686
Works with vanilla typescript or with experimentalDecorators = true
8787
8888
```typescript
89-
import { alias, cliteRun, help } from "jsr:@jersou/clite@0.7.5";
89+
import { alias, cliteRun, help } from "jsr:@jersou/clite@0.7.6";
9090

9191
@help("This tool is a little example of CliteParser") // optional description
9292
class Tool {
@@ -138,7 +138,7 @@ Options:
138138
### Full example without decorator (Javascript)
139139
140140
```javascript
141-
import { cliteRun } from "jsr:@jersou/clite@0.7.5";
141+
import { cliteRun } from "jsr:@jersou/clite@0.7.6";
142142
143143
class Tool {
144144
_help = "This tool is a little example of CliteParser"; // optional description
@@ -257,7 +257,7 @@ In summary :
257257
### Help description with the `@help` decorator or inline help
258258
259259
```typescript
260-
import { cliteRun, help } from "jsr:@jersou/clite@0.7.5";
260+
import { cliteRun, help } from "jsr:@jersou/clite@0.7.6";
261261
262262
@help("This tool is a little example of CliteParser")
263263
class Tool {
@@ -289,7 +289,7 @@ as description in the help :
289289
290290
```typescript
291291
#!/usr/bin/env -S deno run -A
292-
import { cliteRun } from "jsr:@jersou/clite@0.7.5";
292+
import { cliteRun } from "jsr:@jersou/clite@0.7.6";
293293
294294
class Tool {
295295
_help = "This tool is a little example of CliteParser"; // optional description
@@ -608,7 +608,7 @@ the command execution. Else, the help is print only for errors that have
608608
It's useful if a required option is missing, for example.
609609
610610
```typescript
611-
import { cliteRun } from "jsr:@jersou/clite@0.7.5";
611+
import { cliteRun } from "jsr:@jersou/clite@0.7.6";
612612
export class Tool {
613613
throw = "true";
614614
main() {
@@ -625,7 +625,7 @@ To print help on specific error only, without `printHelpOnError=true`, use
625625
`{ cause: { clite: true } }` :
626626
627627
```typescript
628-
import { cliteRun } from "jsr:@jersou/clite@0.7.5";
628+
import { cliteRun } from "jsr:@jersou/clite@0.7.6";
629629
export class Tool {
630630
noThrow = false;
631631
@@ -727,7 +727,7 @@ $ ./Tool.ts -- main 123 true foo
727727
A plain JS Object can be used :
728728
729729
```typescript
730-
import { cliteRun } from "jsr:@jersou/clite@0.7.5";
730+
import { cliteRun } from "jsr:@jersou/clite@0.7.6";
731731
732732
cliteRun({
733733
retry: 2,
@@ -827,7 +827,7 @@ With [esm.sh](https://code.esm.sh/),
827827
[jsfiddle.net](https://jsfiddle.net/)) :
828828
829829
```javascript
830-
import { cliteParse } from "https://esm.sh/jsr/@jersou/clite@0.7.5";
830+
import { cliteParse } from "https://esm.sh/jsr/@jersou/clite@0.7.6";
831831
832832
class Tool {
833833
opt = 123;

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jersou/clite",
3-
"version": "0.7.5",
3+
"version": "0.7.6",
44
"exports": "./mod.ts",
55
"license": "MIT",
66
"tasks": {

examples/dcpm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env -S deno run -A
22

3-
// deno install -g -f --name dcpm -A https://jsr.io/@jersou/clite/0.7.5/examples/dcpm.ts
3+
// deno install -g -f --name dcpm -A https://jsr.io/@jersou/clite/0.7.6/examples/dcpm.ts
44

55
import { cliteRun } from "../mod.ts";
66
import $ from "jsr:@david/dax@0.42.0";

examples/dcpps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// -h, --help Show this help [default: false]
1414
// --interval repeat watch every <INTERVAL> sec [default: 1]
1515

16-
import { cliteRun, help } from "jsr:@jersou/clite@0.7.5";
16+
import { cliteRun, help } from "jsr:@jersou/clite@0.7.6";
1717
import $ from "jsr:@david/dax@0.42.0";
1818
import { assert } from "jsr:@std/assert@1.0.5";
1919
import {

examples/node-jsr/dax/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"shebang-run": "./example-dax.mjs --retry=4 --web-url=tttt --no-color down true 14"
1313
},
1414
"dependencies": {
15-
"@jersou/clite": "npm:@jsr/jersou__clite@0.7.5",
15+
"@jersou/clite": "npm:@jsr/jersou__clite@0.7.6",
1616
"dax-sh": "0.42.0"
1717
}
1818
}

examples/node-jsr/simple/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"shebang-run": "./example.mjs --retry=4 --web-url=tttt --no-color down true 14"
1313
},
1414
"dependencies": {
15-
"@jersou/clite": "npm:@jsr/jersou__clite@0.7.5"
15+
"@jersou/clite": "npm:@jsr/jersou__clite@0.7.6"
1616
}
1717
}

examples/node-jsr/zx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"shebang-run": "./example-zx.mjs --retry=4 --web-url=tttt --no-color down true 14"
1313
},
1414
"dependencies": {
15-
"@jersou/clite": "npm:@jsr/jersou__clite@0.7.5",
15+
"@jersou/clite": "npm:@jsr/jersou__clite@0.7.6",
1616
"zx": "^8.1.9"
1717
}
1818
}

examples/node-npm/dax/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"shebang-run": "./example-dax.mjs --retry=4 --web-url=tttt --no-color down true 14"
1313
},
1414
"dependencies": {
15-
"clite-parser": "0.7.5",
15+
"clite-parser": "0.7.6",
1616
"dax-sh": "0.42.0"
1717
}
1818
}

examples/node-npm/simple/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"shebang-run": "./example.mjs --retry=4 --web-url=tttt --no-color down true 14"
1313
},
1414
"dependencies": {
15-
"clite-parser": "0.7.5"
15+
"clite-parser": "0.7.6"
1616
}
1717
}

0 commit comments

Comments
 (0)