dagger-winget-release
No long description provided.
Installation
dagger install github.com/pjmagee/dagger-winget-release@8e6091dc2a68ffcc96a57d3ea35667de3d042d30
Entrypoint
Return Type
DaggerWingetRelease
Example
dagger -m github.com/pjmagee/dagger-winget-release@8e6091dc2a68ffcc96a57d3ea35667de3d042d30 call \
func (m *myModule) example() *DaggerWingetRelease {
return dag.
DaggerWingetRelease()
}
@function
def example() -> dag.DaggerWingetRelease:
return (
dag.dagger_winget_release()
)
@func()
example(): DaggerWingetRelease {
return dag
.daggerWingetRelease()
}
Types
DaggerWingetRelease 🔗
getLatestRelease() 🔗
Return Type
String !
Example
dagger -m github.com/pjmagee/dagger-winget-release@8e6091dc2a68ffcc96a57d3ea35667de3d042d30 call \
get-latest-release
func (m *myModule) example(ctx context.Context) string {
return dag.
DaggerWingetRelease().
GetLatestRelease(ctx)
}
@function
async def example() -> str:
return await (
dag.dagger_winget_release()
.get_latest_release()
)
@func()
async example(): Promise<string> {
return dag
.daggerWingetRelease()
.getLatestRelease()
}
createWingetCommand() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
tag | String | - | The version of the release |
token | Secret | - | The token to use for the wingetcreate command |
submit | Boolean | false | Whether to add the --submit |
Example
dagger -m github.com/pjmagee/dagger-winget-release@8e6091dc2a68ffcc96a57d3ea35667de3d042d30 call \
create-winget-command
func (m *myModule) example(ctx context.Context) string {
return dag.
DaggerWingetRelease().
CreateWingetCommand(ctx)
}
@function
async def example() -> str:
return await (
dag.dagger_winget_release()
.create_winget_command()
)
@func()
async example(): Promise<string> {
return dag
.daggerWingetRelease()
.createWingetCommand()
}