#Any examples of multi-module functions working together?

1 messages · Page 1 of 1 (latest)

flint trellis
#

If I want to create a set of tasks for commenting in slack, azure repos, or github.... and use these throughout my automation in other modules

  • should I just write go package code
  • can i reference this other module as a dependency correctly so i can still do something like
if slackToken {
    slacker.SendNotification(ctx, "text summary of various actions") // <- another module i could call myself or use in this function code?
}

Then I can pass in more context and it builds the slack blockit message with LLM for example or fallback to simple message
Haven't found yet in the docs the info on if i can mix/match calling other modules in my current module.

flint trellis
#

bump

Any tip? I'm not sure I've seen any examples of mixing/matching module calls

ivory cedar
#

Install your dependency in the calling module, and call it with dag.DepModule().XXXX