11 lines
		
	
	
		
			258 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			258 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import * as plugins from './mod.plugins.js';
 | 
						|
 | 
						|
export const run = async (argvArg) => {
 | 
						|
  const command = argvArg._[1];
 | 
						|
  switch (command) {
 | 
						|
    case 'shortid':
 | 
						|
      console.log('Here is new shortid');
 | 
						|
      console.log(plugins.smartunique.shortId());
 | 
						|
  }
 | 
						|
};
 |