https://docs.dagger.io/api/interfaces/
dagger init --sdk go --name Bar --source dagger
mkdir fooer
cd fooer/
dagger init --sdk go --name MyModule --source dagger
mkdir impl
cd impl/
dagger init --sdk go --name Example --source daggerdagger install ./fooer/
dagger install ./impl/
run interfaced method:
dagger call container-echo
number is: 42fooer infos:
dagger -m fooer/ functions
✔ connect 0.3s
✔ load module 3.0s
Name Description
grep-dir Returns lines that match a pattern in the files of the provided Directory
Skipped 2 function(s) with unsupported types: foo, container-echorun interfaced method:
dagger call container-echo-1 --bar 2 --name Puzzle