write_budget_markdown(budget_graph, args.output_dir)
write_budget_csv(budget_graph, args.output_dir)
summarize_milestones(budget_graph)
- json_milestones(budget_graph, args.comments, args.output_dir)
print("```") # for using the output as markdown
+ json_milestones(budget_graph, args.comments, args.output_dir)
def print_markdown_for_person(budget_graph: BudgetGraph, config: Config,
output_file = output_dir / f"report.{milestone.identifier}.json"
output_file.write_text(json.dumps(d, indent=2), encoding="utf-8")
- print(f"wrote JSON for {milestone.identifier}")
if __name__ == "__main__":