file-copier2json
v1.0.0
Published
[](https://www.npmjs.com/package/file-copier-cli) [](https://travis-ci.org/username/file-copier-cli) [ to exclude from the file copying process.outputFileName: The desired name for the output JSON file.outputDirectory: The directory where the output JSON file should be saved.
If any of these options are not specified in the file-copier.config file, the CLI will prompt the user for the missing values.
CLI Options
File Copier CLI supports the following command-line options:
-s, --source <path>: Specify the source directory path. Defaults to the current working directory.-i, --ignore <file>: Specify an ignore file path (e.g.,.gitignore) to read ignore patterns from.
Examples
Copy files from the current directory to output.json:
file-copierCopy files from a specific directory to result.json:
file-copier -s path/to/source -o result.jsonUse a custom ignore file:
file-copier -i .myignoreContributing
Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request on the GitHub repository.
License
This project is licensed under the MIT License.
