#Is it possible to get list of functions and parameters through API instead of calling dagger cli?

1 messages · Page 1 of 1 (latest)

patent nymph
#

I'm experimenting with dagger functions and was wondering if I can get a list of available functions of my module (or any other module) so I can wrap it with all sorts of tools (ie: auto generate jenkins jobs, basically replacing JobDSL)

I'm aware of dagger cli ability to view functions, but I wonder if its possible to list with the current SDK

jaunty karma
# patent nymph I'm experimenting with dagger functions and was wondering if I can get a list of...

Yes, you can introspect any module through the API. Everything the CLI does, you can do in a custom tool or module. A few pointers:

#

Cc @silent @calm compass since this is his specialty