Dagger
Search

bsky

This module has been generated via dagger init and serves as a reference to
basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.

The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.

Installation

dagger install github.com/felipecruz91/daggerverse/bsky@812413ffa7ed126d04dee7be21e9cda1a815e618

Entrypoint

Return Type
Bsky
Example
dagger -m github.com/felipecruz91/daggerverse/bsky@812413ffa7ed126d04dee7be21e9cda1a815e618 call \
func (m *myModule) example() *Bsky  {
	return dag.
			Bsky()
}
@function
def example() -> dag.Bsky:
	return (
		dag.bsky()
	)
@func()
example(): Bsky {
	return dag
		.bsky()
}

Types

Bsky 🔗

post() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
pdsUrlString !"https://bsky.social"pdsURL is the URL of the PDS (Personal Data Server)
handleString !-handle is the user handle
passwordSecret !-password is the user password
textString !-text is the post's content
Example
dagger -m github.com/felipecruz91/daggerverse/bsky@812413ffa7ed126d04dee7be21e9cda1a815e618 call \
 post --pds-url string --handle string --password env:MYSECRET --text string
func (m *myModule) example(ctx context.Context, pdsUrl string, handle string, password *Secret, text string)   {
	return dag.
			Bsky().
			Post(ctx, pdsUrl, handle, password, text)
}
@function
async def example(pds_url: str, handle: str, password: dagger.Secret, text: str) -> None:
	return await (
		dag.bsky()
		.post(pds_url, handle, password, text)
	)
@func()
async example(pdsUrl: string, handle: string, password: Secret, text: string): Promise<void> {
	return dag
		.bsky()
		.post(pdsUrl, handle, password, text)
}