_: { keys = rec { ## [String] | String -> String -> String -> String -> AttrSet mk = mode: key: action: desc: { inherit mode key action; options = { inherit desc; silent = true; }; }; ## [String] | String -> String -> String -> AttrSet mk' = mode: key: action: mk mode key action null; ## [String] | String -> String -> String -> String -> AttrSet -> AttrSet mkWithOpts = mode: key: action: desc: opts: (mk mode key action desc) // { options = opts; }; ## [String] | String -> String -> String -> AttrSet -> AttrSet mkWithOpts' = mode: key: action: opts: mkWithOpts mode key action null opts; }; }