Home

cfg @2d0ac7163fc5126251847c958793c75aea8c4ac9 - refs - log -
-
https://git.jolheiser.com/cfg.git
Convert between various configuration formats
cfg / example / example.cue
- raw -
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#Address: {
	country: string
	phone: string
	state: string
	street: string
	zip: string
}
address: #Address
admins: [...string]
email: string
home: string
username: string

address: {
    country: "USA"
    phone:   "123-456-7890"
    state:   "MT"
    street:  "123"
    zip:     "12345"
}
admins: ["jolheiser", "admin"]
email:    "jolheiser@example.com"
home:     "/home/jolheiser"
username: "jolheiser"