def kind2

cswap-bend-cli@0.1.0.0 · daemon/gather.bend:49

import cswap-bend-cli@0.1.0.0/daemon/gather.bend as Gather
import Base
import cswap-bend-cli@0.1.0.0/policy/types.bend as T

49def kind2(+api: Bool, +refresh: Bool) -> T.AcctKind:
50  match api refresh:
51    case True{} _:
52      T.ApiKey{}
53    case False{} True{}:
54      T.FullLogin{}
55    case False{} False{}:
56      T.SetupToken{}

Uses (2)

Used by (1)