Guides
Learn more with hands-on guides.
move(target)
Moves files or directories to the target directory.
import { files, dirs } from '@codemod.com/workflow' const appDir = (await dirs`app`.map(({ cwd }) => cwd())) .pop() await files('app.vue') .move(appDir)
Absolute path to the target directory.
Was this page helpful?