File tree Expand file tree Collapse file tree 2 files changed +186
-184
lines changed Expand file tree Collapse file tree 2 files changed +186
-184
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ import {
138138 closeSentry ,
139139 setupSentry ,
140140} from "./sentry" ;
141- import { tailHandler , tailOptions } from "./tail" ;
141+ import { tailCommand } from "./tail" ;
142142import registerTriggersSubcommands from "./triggers" ;
143143import { typesHandler , typesOptions } from "./type-generation" ;
144144import { getAuthFromEnv } from "./user" ;
@@ -460,12 +460,8 @@ export function createCLIParser(argv: string[]) {
460460 ) ;
461461
462462 // tail
463- wrangler . command (
464- "tail [worker]" ,
465- "🦚 Start a log tailing session for a Worker" ,
466- tailOptions ,
467- tailHandler
468- ) ;
463+ registry . define ( [ { command : "wrangler tail" , definition : tailCommand } ] ) ;
464+ registry . registerNamespace ( "tail" ) ;
469465
470466 // secret
471467 wrangler . command (
You can’t perform that action at this time.
0 commit comments