about summary refs log tree commit diff
path: root/pkgs/profpatsch/dhallsh/Fish/Complete/default.dhall
blob: 0405f921b62172da53620b07d0356aa27490a68d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
let Command = ../../Command/type.dhall

let Argument = ../../Argument/type.dhall

in    λ(a : { cmd : Text, description : Text })
    → { cmd =
          a.cmd
      , description =
          a.description
      , condition =
          None (Command Argument)
      , short-option =
          None Text
      , long-option =
          None Text
      , long-option-old-style =
          None Text
      , argument =
          None Text
      , keep-order =
          False
      , no-files =
          True
      , require-parameter =
          False
      , wraps =
          None Text
      }