#How do I use daggerverse? I have dagger

1 messages · Page 1 of 1 (latest)

mild fog
#

Hey! Is there a specific module that you're trying to use?

gloomy glade
#

I don't know how to use any of the community ones

mild fog
#

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 🙂

gloomy glade
#

and I guess I dont understand all of the syntax dagger call build --dir . save --name awesome_service

mild fog
#

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.

Introduction

Welcome to the Dagger developer manual!

GitHub

Welcome to the Daggerverse! Dagger functions to streamline your CI - purpleclay/daggerverse