The easiest way to explore and manipulate your CI Pipelines in all of your FluentCI projects.
Use a real programming language to write your CI/CD Plugin .
Benefit from features such as auto-completion, immediate type validation, and interactive documentation in your integrated development environment, right from the start.
import fluentci.{dag, pipeline}
import fluentci/pipeline.{pkgx}
import fluentci/pkgx.{stdout, with_exec}
import gleam/io
import gleam/javascript/array.{from_list}
import gleam/javascript/promise.{await, resolve}
pub fn main() {
dag()
|> pipeline("deploy")
|> pkgx()
|> with_exec(from_list(["pkgx", "bun", "install"]))
|> with_exec(from_list(["pkgx", "+node", "bunx", "wrangler", "deploy"]))
|> stdout
|> await(fn(output) {
io.println(output)
resolve(output)
})
}