Installs pre-commit hooks for OCaml projects that run dune fmt automatically
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Migrate CLI tools to use Tty.Table for consistent output

- precommit: Move directory column first as primary key
- ocurl: Add Tty.Table for HTTP headers display
- oci: Replace PrintBox with Tty.Table for image listing
- agent: Add Tty.Table for TODO list display with colored status

All CLI tools now use the tty library for tables, providing
consistent styled output across the monorepo.

+2 -2
+2 -2
bin/main.ml
··· 131 131 if s.formatting_disabled then missing := true 132 132 end; 133 133 [ 134 + Tty.Span.text d; 134 135 check_span s.has_pre_commit; 135 136 check_span s.has_commit_msg; 136 137 check_span s.has_ocamlformat; 137 138 check_span (not s.formatting_disabled); 138 - Tty.Span.text d; 139 139 ]) 140 140 dirs 141 141 in ··· 143 143 Tty.Table.( 144 144 of_rows ~border:Tty.Border.rounded 145 145 [ 146 + column "directory"; 146 147 column ~align:`Center "pre-commit"; 147 148 column ~align:`Center "commit-msg"; 148 149 column ~align:`Center "ocamlformat"; 149 150 column ~align:`Center "formatting"; 150 - column "directory"; 151 151 ] 152 152 rows) 153 153 in