• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • spin
  • Documentation
  • spin lib
  • Spin .User_config Module
package spin
  • spin
    • Spin
      • Config
      • Dec_common
        • Git_repo
          • Errors
        • Make_valid_string
          • 1-M
          • Errors
        • Source
        • Template_name
          • Errors
      • Dec_project
        • Config
          • Errors
      • Dec_template
        • Actions
        • Base_template
          • Errors
        • Configuration
        • Description
        • Example_command
        • Example_commands
        • Expr
        • Ignore_rule
        • Parse_binaries
        • Raw_files
      • Dec_user_config
      • Decoder
        • Infix
        • Syntax
      • Encoder
      • File_generator
      • Git_template
      • Helpers
      • Local_template
      • Official_template
      • Pp
      • Refmt
      • Spawn
      • Spin_error
      • Template
      • Template_actions
      • Template_configuration
      • Template_expr
      • User_config
  • spin.ansi
    • Ansi
  • spin.inquire
    • Inquire
      • Style
  • spin.std
    • Spin_std
      • Filename
      • Glob
      • Hashtbl
        • HashedType
        • Make
          • 1-H
        • MakeSeeded
          • 1-H
        • S
        • SeededHashedType
        • SeededS
      • List
      • Result
        • List
        • Syntax
      • Spawn
      • String
      • Sys
        • Immediate64
          • Immediate
          • Make
            • 1-Immediate
            • 2-Non_immediate
          • Non_immediate
  • spin.template
    • Spin_template
      • Template
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
author_name : string option;
email : string option;
github_username : string option;
create_switch : bool option;
}
val of_dec : Dec_user_config.t -> t
val read : ?path:string -> unit -> ( t option, Spin_error.t ) Spin_std.Result.t
val save : ?path:string -> t -> ( unit, Spin_error.t ) Spin_std.Result.t
val prompt : ?default:t -> unit -> t
val to_context : t -> ( string, string ) Spin_std.Hashtbl.t

Footer

OCaml

Innovation. Community. Security.

GitHub Discord Twitter Peertube RSS

About Us

  • Industrial Users
  • Academic Users
  • Why OCaml

Resources

  • Get Started
  • Language Docs
  • Books
  • Releases

Community

  • Blog
  • Jobs

Policies

  • Carbon Footprint
  • Governance
  • Privacy
  • Code of Conduct