Dagger
Search

superagent

No long description provided.

Installation

dagger install github.com/shykes/x/superagent@29a8feba237850b1ab4bb2b3c528a20b77911cb6

Entrypoint

Return Type
Superagent
Example
dagger -m github.com/shykes/x/superagent@29a8feba237850b1ab4bb2b3c528a20b77911cb6 call \
func (m *myModule) example() *Superagent  {
	return dag.
			Superagent()
}
@function
def example() -> dag.Superagent:
	return (
		dag.superagent()
	)
@func()
example(): Superagent {
	return dag
		.superagent()
}

Types

Superagent 🔗

shellExamples() 🔗

Generate shell examples of a given dagger module

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
addressString !-No description provided
tokenSecret !-No description provided
Example
dagger -m github.com/shykes/x/superagent@29a8feba237850b1ab4bb2b3c528a20b77911cb6 call \
 shell-examples --address string --token env:MYSECRET
func (m *myModule) example(address string, token *Secret) *Directory  {
	return dag.
			Superagent().
			ShellExamples(address, token)
}
@function
def example(address: str, token: dagger.Secret) -> dagger.Directory:
	return (
		dag.superagent()
		.shell_examples(address, token)
	)
@func()
example(address: string, token: Secret): Directory {
	return dag
		.superagent()
		.shellExamples(address, token)
}