package spin

  1. Overview
  2. Docs

Module Spin.User_configSource

Sourcetype t = {
  1. author_name : string option;
  2. email : string option;
  3. github_username : string option;
  4. create_switch : bool option;
}
Sourceval of_dec : Dec_user_config.t -> t
Sourceval read : ?path:string -> unit -> (t option, Spin_error.t) Spin_std.Result.t
Sourceval save : ?path:string -> t -> (unit, Spin_error.t) Spin_std.Result.t
Sourceval prompt : ?default:t -> unit -> t
Sourceval to_context : t -> (string, string) Spin_std.Hashtbl.t
OCaml

Innovation. Community. Security.