@@ -119,7 +119,7 @@ module private Implementations =
119119type PromptCommand () =
120120 inherit Command()
121121
122- override _.Execute c =
122+ override _.Execute ( _context , _cancellationToken ) =
123123 findFolder ()
124124 |> Option.map ( prompt >> fun () -> 0 )
125125 |> Option.defaultWith notInitialized
@@ -142,7 +142,7 @@ type IndexSettings() =
142142type IndexCommand () =
143143 inherit Command< IndexSettings>()
144144
145- override _.Execute ( _ , settings ) =
145+ override _.Execute ( _context , settings , _cancellationToken ) =
146146 ( fun _ ->
147147 App.index IO.getFiles Db.upsertFolder {
148148 Path = currentPath
@@ -191,7 +191,7 @@ type RemoveLauncherSettings() =
191191type SetLauncherCommand () =
192192 inherit Command< SetLauncherSettings>()
193193
194- override _.Execute ( _ , settings ) =
194+ override _.Execute ( _ , settings , _cancellationToken ) =
195195 match findFolder () with
196196 | None -> notInitialized ()
197197 | Some folder ->
@@ -222,7 +222,7 @@ type SetLauncherCommand() =
222222type RemoveLauncherCommand () =
223223 inherit Command< RemoveLauncherSettings>()
224224
225- override _.Execute ( _ , settings ) =
225+ override _.Execute ( _ , settings , _cancellationToken ) =
226226 match findFolder () with
227227 | None -> notInitialized ()
228228 | Some folder ->
@@ -245,7 +245,7 @@ type RemoveLauncherCommand() =
245245type DeindexCommand () =
246246 inherit Command()
247247
248- override _.Execute _ =
248+ override _.Execute ( _context , _cancellationToken ) =
249249 match Db.findFolder currentPath with
250250 | None -> notInitialized ()
251251 | Some folder ->
@@ -256,7 +256,7 @@ type DeindexCommand() =
256256type InfoCommand () =
257257 inherit Command()
258258
259- override _.Execute _ =
259+ override _.Execute ( _context , _cancellationToken ) =
260260 match findFolder () with
261261 | None -> notInitialized ()
262262 | Some folder ->
@@ -316,7 +316,7 @@ type InfoCommand() =
316316type RefreshCommand () =
317317 inherit Command()
318318
319- override _.Execute _ =
319+ override _.Execute ( _context , _cancellationToken ) =
320320 match findFolder () with
321321 | None -> notInitialized ()
322322 | Some folder ->
0 commit comments