@@ -41,6 +41,12 @@ export interface Options extends ParsedOptions {
41
41
/** Use this named profile */
42
42
profile : string
43
43
44
+ /** Absolute path to profiles directory */
45
+ P : string
46
+
47
+ /** Absolute path to profiles directory */
48
+ "profiles-path" : string
49
+
44
50
/** Do not tee logs to the console */
45
51
q : boolean
46
52
@@ -131,6 +137,7 @@ export function doMadwizard({ readonlyUI = true, task, withFilepath = true, cb,
131
137
undefined ,
132
138
{
133
139
profile,
140
+ profilesPath : parsedOptions . P ,
134
141
store : parsedOptions . s || process . env . GUIDEBOOK_STORE ,
135
142
verbose : parsedOptions . V ,
136
143
interactive : parsedOptions . i || ! parsedOptions . y ,
@@ -158,7 +165,16 @@ export function doMadwizard({ readonlyUI = true, task, withFilepath = true, cb,
158
165
export const flags = {
159
166
boolean : [ "u" , "V" , "n" , "q" , "i" , "y" ] ,
160
167
configuration : { "populate--" : true } ,
161
- alias : { store : [ "s" ] , quiet : [ "q" ] , interactive : [ "i" ] , yes : [ "y" ] , profile : [ "p" ] , verbose : [ "V" ] , team : [ "t" ] } ,
168
+ alias : {
169
+ store : [ "s" ] ,
170
+ quiet : [ "q" ] ,
171
+ interactive : [ "i" ] ,
172
+ yes : [ "y" ] ,
173
+ profile : [ "p" ] ,
174
+ "profiles-path" : [ "P" ] ,
175
+ verbose : [ "V" ] ,
176
+ team : [ "t" ] ,
177
+ } ,
162
178
}
163
179
164
180
/** Register Kui Commands */
0 commit comments