1module Stack.Config.TH where
7import Text.Inflections as TI
9toDashedField :: String -> String
10toDashedField = toDashed' . dropPrefix
12toDashed' :: String -> String
13toDashed' = either (const $ error "toDashed failed") T.unpack
17dropPrefix :: String -> String
18dropPrefix = L.dropWhile (not . C.isUpper)
21jsonOpts = defaultOptions
22 { fieldLabelModifier = toDashedField
23 , omitNothingFields = True }
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list