scorecard
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/scorecard@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0Entrypoint
Return Type
Scorecard Example
dagger -m github.com/tsirysndr/daggerverse/scorecard@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0 call \
func (m *MyModule) Example() *dagger.Scorecard {
return dag.
Scorecard()
}@function
def example() -> dagger.Scorecard:
return (
dag.scorecard()
)@func()
example(): Scorecard {
return dag
.scorecard()
}Types
Scorecard 🔗
calc() 🔗
Calculates the scorecard for a given repository.
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| repo | String ! | - | No description provided |
| format | String | - | No description provided |
| checks | String | - | No description provided |
| token | Secret | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/scorecard@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0 call \
calc --repo stringfunc (m *MyModule) Example(ctx context.Context, repo string) string {
return dag.
Scorecard().
Calc(ctx, repo)
}@function
async def example(repo: str) -> str:
return await (
dag.scorecard()
.calc(repo)
)@func()
async example(repo: string): Promise<string> {
return dag
.scorecard()
.calc(repo)
}