Add Decodal CLI smoke example

This commit is contained in:
Keisuke Hirata 2026-06-16 02:11:44 +09:00
parent c33c484bac
commit fead194ba6
No known key found for this signature in database

13
examples/basic.dcdl Normal file
View File

@ -0,0 +1,13 @@
let
MyConfig = {
host = String;
port = Int & > 443 default 8080;
feature.enable = Bool default true;
};
mkConfig = (cfg: MyConfig) => cfg;
in
mkConfig({
host = "127.0.0.1";
port = 8000;
feature.enable = false;
})