import { files } from 'ember-apply';
await files.copyFileTo('destination/file.js', { source: 'source/file.js' });
import { files } from 'ember-apply';
await files.copyFileTo('destination/file.js', { content: 'file contents' });
Generated using TypeDoc
Copy a file to some
destination
. In theoptions
object, only one ofsource
orcontent
is needed.