scorecard
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/scorecard@bc7dbb612778df8fdfb003468062d6450df820d4
Entrypoint
Return Type
Scorecard
Example
dagger -m github.com/tsirysndr/daggerverse/scorecard@bc7dbb612778df8fdfb003468062d6450df820d4 call \
func (m *myModule) example() *Scorecard {
return dag.
Scorecard()
}
@function
def example() -> dag.Scorecard:
return (
dag.scorecard()
)
@func()
example(): Scorecard {
return dag
.scorecard()
}
Types
Scorecard 🔗
calc() 🔗
Calculates the scorecard for a given repository.
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
repo | StringKind ! | - | No description provided |
format | StringKind | - | No description provided |
checks | StringKind | - | No description provided |
token | Secret | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/scorecard@bc7dbb612778df8fdfb003468062d6450df820d4 call \
calc
func (m *myModule) example(repo ) {
return dag.
Scorecard().
Calc(repo)
}
@function
def example(repo: ) -> :
return (
dag.scorecard()
.calc(repo)
)
@func()
example(repo: ): {
return dag
.scorecard()
.calc(repo)
}