Skip to content

budget.ts ​

Source: examples/capabilities/planning/budget.ts · Download source · Example guide

ts
import { runPlanning, type Runner, type Input, type Options } from "./shared.ts";
import { isMain, runCli } from "./cli.ts";
export const runBudget = (runtime: Runner, input: Input, options: Options = {}) => runPlanning(runtime, input, "budget", options);
if (isMain(import.meta.url)) await runCli(runBudget, "budget");

Ditto · @codesoul-co/ditto · Node.js 24+