One file, to rule them all.
dotconf
will archive all your .file|.directory
into one single .conf
.
It will extract them when needed (advised in npm postinstall
).
Installation
npm i dotconf --save
npm i dotconf -g
Usage
dotconf [OPTIONS] [ARGS]
```
```bash
-a, --archive Archive your files
-e, --extract Extract your files
-d, --destination [STRING] Destination of the archive
-p, --pattern [STRING] Pattern to get file files
-s, --safe [BOOL] Execute in safe mode
--safeDestination [STRING] Destination of the safe storage
-i, --ignore [ARRAY] What to ignore
-k, --no-color Omit color from output
--debug Show debug information
-v, --version Display the current version
-h, --help Display help and usage details
```
By default, options can be read in the `package.json` under `dotconf` object.
```json
"dotconf": {
"destination": ".file",
"safeDestination": ".tempDotConf",
"safe": true,
"pattern": ".*",
"ignore": [
".git*",
"node_modules/**" ,
".file",
".tempDotConf/**"
]
}
```