diff options
| author | Federico Igne <undyamon@disroot.org> | 2024-01-11 19:31:31 +0100 |
|---|---|---|
| committer | Federico Igne <undyamon@disroot.org> | 2024-01-11 19:31:31 +0100 |
| commit | 055c743c55bde27f4475d3434c26d8383c0c3ea1 (patch) | |
| tree | aabf2173a9995f5795da86d5676181b62fee0e9e /lib/config.ml | |
| parent | 416c56656af65d656f637dc8c8fdb62d0ba03e29 (diff) | |
| download | sandy-055c743c55bde27f4475d3434c26d8383c0c3ea1.tar.gz sandy-055c743c55bde27f4475d3434c26d8383c0c3ea1.zip | |
bulk: add PoC of vim-like modular editor
Diffstat (limited to 'lib/config.ml')
| -rw-r--r-- | lib/config.ml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/config.ml b/lib/config.ml new file mode 100644 index 0000000..4ebf436 --- /dev/null +++ b/lib/config.ml | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | open Base | ||
| 2 | |||
| 3 | type config = { | ||
| 4 | files : string list; | ||
| 5 | } | ||
| 6 | type t = config | ||
| 7 | |||
| 8 | let parse args = | ||
| 9 | { files = List.(of_array args |> tl_exn) } | ||
