Skip to content

Commit 6295a73

Browse files
authored
Expose Completion_options.t type (#23)
Signed-off-by: Stephen Sherratt <stephen@sherra.tt>
1 parent bfedd01 commit 6295a73

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.8.4
4+
5+
### Changed
6+
7+
- Expose `Completion_options.t` type (#23)
8+
39
## 0.8.3
410

511
### Fixed

src/climate/climate.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ let help_command_arg_parser () =
184184
Arg_parser.Private.usage ~error:false ~message:None ~override_doc:None
185185
;;
186186

187+
module Completion_options = Completion.Options
188+
187189
module Command = struct
188190
type internal =
189191
| Print_completion_script_bash

src/climate/climate.mli

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,16 @@ module Program_name : sig
8484
| Literal of string
8585
end
8686

87+
module Completion_options : sig
88+
type t =
89+
{ no_comments : bool
90+
; no_whitespace : bool
91+
; minify_global_names : bool
92+
; minify_local_variables : bool
93+
; optimize_case_statements : bool
94+
}
95+
end
96+
8797
module Command : sig
8898
type 'a t
8999

@@ -153,7 +163,7 @@ module Command : sig
153163
-> ?global_symbol_prefix:[ `Random | `Custom of string ]
154164
-> ?command_hash_in_function_names:bool
155165
-> ?program_name:Program_name.t
156-
-> ?options:Completion.Options.t
166+
-> ?options:Completion_options.t
157167
-> _ t
158168
-> string
159169

0 commit comments

Comments
 (0)