import { FileSystem } from '../../file-system' ; import { getNames } from '../../utils' ; export function createScript ( { name } ) { const names = getNames ( name ) ; const fs = new FileSystem ( ) ; fs . cdProjectRootDir ( ) . cd ( 'src/scripts' ) . copy ( 'script/script.ts' , `${ names . kebabName }.ts` ) ; }