Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.8.4

### Changed

- Expose `Completion_options.t` type (#23)

## 0.8.3

### Fixed
Expand Down
2 changes: 2 additions & 0 deletions src/climate/climate.ml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ let help_command_arg_parser () =
Arg_parser.Private.usage ~error:false ~message:None ~override_doc:None
;;

module Completion_options = Completion.Options

module Command = struct
type internal =
| Print_completion_script_bash
Expand Down
12 changes: 11 additions & 1 deletion src/climate/climate.mli
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,16 @@ module Program_name : sig
| Literal of string
end

module Completion_options : sig
type t =
{ no_comments : bool
; no_whitespace : bool
; minify_global_names : bool
; minify_local_variables : bool
; optimize_case_statements : bool
}
end

module Command : sig
type 'a t

Expand Down Expand Up @@ -153,7 +163,7 @@ module Command : sig
-> ?global_symbol_prefix:[ `Random | `Custom of string ]
-> ?command_hash_in_function_names:bool
-> ?program_name:Program_name.t
-> ?options:Completion.Options.t
-> ?options:Completion_options.t
-> _ t
-> string

Expand Down
Loading