yq
No long description provided.
Installation
dagger install github.com/wingyplus/daggerverse/yq@9c6b4f6dbec303254b142a4ca808702b1921bb9c
Entrypoint
Return Type
Yq
Example
dagger -m github.com/wingyplus/daggerverse/yq@9c6b4f6dbec303254b142a4ca808702b1921bb9c call \
func (m *myModule) example() *Yq {
return dag.
Yq()
}
@function
def example() -> dag.Yq:
return (
dag.yq()
)
@func()
example(): Yq {
return dag
.yq()
}
Types
Yq 🔗
yq() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
content | String ! | - | No description provided |
expression | String ! | - | No description provided |
Example
dagger -m github.com/wingyplus/daggerverse/yq@9c6b4f6dbec303254b142a4ca808702b1921bb9c call \
yq --content string --expression string
func (m *myModule) example(ctx context.Context, content string, expression string) string {
return dag.
Yq().
Yq(ctx, content, expression)
}
@function
async def example(content: str, expression: str) -> str:
return await (
dag.yq()
.yq(content, expression)
)
@func()
async example(content: string, expression: string): Promise<string> {
return dag
.yq()
.yq(content, expression)
}