@@ -30,44 +30,6 @@ const create = new Command()
3030 await create ( config , name , args ) ;
3131 } ) ;
3232
33- const run = new Command ( )
34- . description ( "Run one or more scripts from the config file." )
35- . example (
36- "lume run deploy" ,
37- "Runs the `deploy` script." ,
38- )
39- . example (
40- "lume run deploy --config=_config.ts" ,
41- "Runs the `deploy` script from the _config.ts file." ,
42- )
43- . example (
44- "lume run build deploy" ,
45- "Runs the `build` and `deploy` scripts." ,
46- )
47- . option (
48- "--config <config:string>" ,
49- "The config file path." ,
50- )
51- . option (
52- "--src <src:string>" ,
53- "The source directory for your site." ,
54- { default : "./" } ,
55- )
56- . option (
57- "--dest <dest:string>" ,
58- "The build destination." ,
59- { default : "_site" } ,
60- )
61- . option (
62- "--location <location>" ,
63- "The URL location of the site." ,
64- { default : "http://localhost" } ,
65- )
66- . action ( async ( { config } , ...scripts ) => {
67- const { run } = await import ( "./cli/run.ts" ) ;
68- await run ( config , scripts ) ;
69- } ) ;
70-
7133const lume = new Command ( )
7234 . name ( "🔥lume" )
7335 . version ( ( ) => getCurrentVersion ( ) )
@@ -137,7 +99,6 @@ const lume = new Command()
13799 } )
138100 . command ( "new <archetype> [arguments...]" , create )
139101 . command ( "upgrade" , upgrade )
140- . command ( "run <script...>" , run )
141102 . command ( "completions" , new CompletionsCommand ( ) ) ;
142103
143104try {
0 commit comments