File tree 2 files changed +16
-2
lines changed
2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 5
5
6
6
Calculates the [ scorecard] ( https://github.com/ossf/scorecard ) for a given repository.
7
7
8
- ## Usage
8
+ ## π Usage
9
9
10
10
``` sh
11
11
dagger -m github.com/tsirysndr/daggerverse/scorecard call calc --repo < repository>
12
12
```
13
13
14
- ## Example
14
+ ## π§βπ¬ Example
15
15
16
16
``` sh
17
17
dagger -m github.com/tsirysndr/daggerverse/scorecard call calc --repo github.com/ossf-tests/scorecard-check-branch-protection-e2e
18
18
```
19
+
20
+ ## π§βπ» Programmatic usage
21
+
22
+ ``` typescript
23
+ import { calc } from ' jsr:@daggerverse/scorecard' ;
24
+
25
+ await calc (
26
+ " ." ,
27
+ " github.com/ossf-tests/scorecard-check-branch-protection-e2e"
28
+ );
29
+ ```
Original file line number Diff line number Diff line change 1
1
{
2
+ "name" : " @daggerverse/scorecard" ,
3
+ "version" : " 0.1.0" ,
4
+ "exports" : " ./mod.ts" ,
2
5
"importMap" : " import_map.json" ,
3
6
"tasks" : {
4
7
"esm:add" : " deno run -A https://esm.sh/v128 add" ,
You canβt perform that action at this time.
0 commit comments