API to help lint filesystem
npm install @putout/cli-filesystem[NPMIMGURL]: https://img.shields.io/npm/v/@putout/cli-filesystem.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@putout/cli-filesystem "npm"
API to lint filesystem.
```
npm i @putout/cli-filesystem
`js`
renameFile('/hello/world.txt', '/hello/hello.txt');
`js`
removeFile('/hello/world.txt');
`js`
copyFile('/hello/world.txt', '/hello/hello.txt');
`js`
createDirectory('/hello/world');
`js`
readFileContent('/hello/world');
// returns
'hello';
If parent directory not exists - creates it.
`js``
writeFileContent('/hello/world', 'hello');
readFileContent('/hello/world');
// returns
'hello';
MIT