#How do I use daggerverse? I have dagger
1 messages · Page 1 of 1 (latest)
I don't know how to use any of the community ones
Yeah I can show you how to do that, but its easier if there is a specific one that you are trying to use
since they are all a bit different 🙂
I see I can install docker here https://daggerverse.dev/mod/github.com/purpleclay/daggerverse/docker@43c1c55dadf15afc9ba401dc59e04baaa3802cca but I'm not sure what else
and I guess I dont understand all of the syntax dagger call build --dir . save --name awesome_service
Daggerverse is an index of reusable dagger modules, it works like any other dagger module.
The example you just shared shows how every dagger function you write comes with a "free cli"
If you look at the source code of that module you will see a function called build that takes a few parameters. https://github.com/purpleclay/daggerverse/blob/43c1c55dadf15afc9ba401dc59e04baaa3802cca/docker/main.go#L86
dagger gives you a free CLI to interact with this function as a command line program. You can also use it as a library in your own functions.
I think maybe a better place to get started might be walking through this tutorial: https://docs.dagger.io/quickstart
and then making your own module in a language of your choice: https://docs.dagger.io/manuals/developer
You can learn a bit more about how everything works before moving on to try using one of these modules.