#Can i use zenith modules without CLI?
1 messages · Page 1 of 1 (latest)
hey there! but dagger run also uses the CLI?
are you asking if there's a way to use modules outside dagger call? That's not currently possible. IIRC there's an issue to discuss how this would work, but since modules are not officially released, we haven't still started the work on integrating them with the native SDK experience
Correct, the goal is that you can run a Dagger Function (loaded from a module) from either 1) the CLI, 2) another Dagger Function, or 3) a custom client tool.
What you're talking about (I think) is option 3: calling a function from your own custom tool. As Marcos said, it's not yet implemented, but is planned. See https://github.com/dagger/dagger/issues/5993
Thanks guys, it was just me misunderstanding the purpose of modules. What i'm content with is actually already described in https://docs.dagger.io/cookbook#organize-pipeline-code-into-modules--classes
Sorry for the fuss