mirror of
				https://github.com/Tencent/tmagic-editor.git
				synced 2025-11-04 10:49:51 +08:00 
			
		
		
		
	chore(cli): 修改注释
This commit is contained in:
		
							parent
							
								
									2114b89365
								
							
						
					
					
						commit
						9e263f9e23
					
				@ -19,7 +19,7 @@ const wrapCommand = (cmd: (...args: any[]) => Promise<App>): typeof cmd => {
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Vuepress cli
 | 
			
		||||
 * TMagic cli
 | 
			
		||||
 */
 | 
			
		||||
export const cli = (defaultAppConfig: UserConfig): void => {
 | 
			
		||||
  // allow ts files globally
 | 
			
		||||
@ -35,7 +35,7 @@ export const cli = (defaultAppConfig: UserConfig): void => {
 | 
			
		||||
  // display help message
 | 
			
		||||
  program.help();
 | 
			
		||||
 | 
			
		||||
  // register `dev` command
 | 
			
		||||
  // register `entry` command
 | 
			
		||||
  program.command('entry', 'Start development server').action(wrapCommand(scripts(defaultAppConfig)));
 | 
			
		||||
 | 
			
		||||
  program.parse(process.argv);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user