fe-core-cli
Version:
All-in-one scaffolding, cli integrated with Vue3 ecological chain, cli of H5 page, mock template cli of Node
14 lines (10 loc) • 355 B
text/typescript
import type { TaskFunction } from 'gulp'
export const withTaskName = <T extends TaskFunction>(name: string, fn: T) => {
return Object.assign(fn, { displayName: name })
}
export const complete = (taskName: string) => {
console.log(`---- ${taskName} task completed ----`)
}
export * from './paths'
export * from './process'
export * from './delPath'