sysi
Implements a few flavours: neofetch & fastfetchPR welcome with your favourite: https://beucismis.github.io/awesome-fetch/
Installation
dagger install github.com/gerhard/daggerverse/sysi@55c602bc16b204f71dc16ff32de91fbe22ad968b
Entrypoint
Return Type
Sysi
Example
dagger -m github.com/gerhard/daggerverse/sysi@55c602bc16b204f71dc16ff32de91fbe22ad968b call \
func (m *myModule) example() *Sysi {
return dag.
Sysi()
}
@function
def example() -> dag.Sysi:
return (
dag.sysi()
)
@func()
example(): Sysi {
return dag
.sysi()
}
Types
Sysi 🔗
neofetch() 🔗
https://github.com/dylanaraps/neofetch
Return Type
String !
Example
dagger -m github.com/gerhard/daggerverse/sysi@55c602bc16b204f71dc16ff32de91fbe22ad968b call \
neofetch
func (m *myModule) example(ctx context.Context) string {
return dag.
Sysi().
Neofetch(ctx)
}
@function
async def example() -> str:
return await (
dag.sysi()
.neofetch()
)
@func()
async example(): Promise<string> {
return dag
.sysi()
.neofetch()
}
fastfetch() 🔗
https://github.com/fastfetch-cli/fastfetch
Return Type
String !
Example
dagger -m github.com/gerhard/daggerverse/sysi@55c602bc16b204f71dc16ff32de91fbe22ad968b call \
fastfetch
func (m *myModule) example(ctx context.Context) string {
return dag.
Sysi().
Fastfetch(ctx)
}
@function
async def example() -> str:
return await (
dag.sysi()
.fastfetch()
)
@func()
async example(): Promise<string> {
return dag
.sysi()
.fastfetch()
}
i() 🔗
Interactively
Return Type
Terminal !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
pkg | String ! | - | No description provided |
Example
dagger -m github.com/gerhard/daggerverse/sysi@55c602bc16b204f71dc16ff32de91fbe22ad968b call \
i --pkg string
func (m *myModule) example(pkg string) *Terminal {
return dag.
Sysi().
I(pkg)
}
@function
def example(pkg: str) -> dag.Terminal:
return (
dag.sysi()
.i(pkg)
)
@func()
example(pkg: string): Terminal {
return dag
.sysi()
.i(pkg)
}