copyfiles icon indicating copy to clipboard operation
copyfiles copied to clipboard

feat: add { flat: true } opt in the programmatic API

Open jhack-jos opened this issue 2 years ago • 0 comments

Solves issue #86. { flat: true } is an alias of { up: true }.

Before this change you had to call: copyfiles( [source, output], { up: true }, callback )

Now the programmatic API mirrors the CLI and it is also possibile to call: copyfiles( [source, output], { flat: true }, callback )

jhack-jos avatar Mar 14 '22 14:03 jhack-jos