1.0.0 • Published 7 months ago

github-together v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

File Organizer CLI Tool

This project is a CLI tool that helps in organizing files in a specified directory based on their extensions. It handles command-line arguments, reads and writes files, and performs various file system operations.

Features

  • Organizes files in a directory based on their extensions.
  • Creates directories for each file extension if they do not exist.
  • Moves files into their respective directories.
  • Interactive prompts for directory input using inquirer.
  • Colored output using chalk.

Installation

  1. Clone the repository and navigate to the project directory.
  2. Install the dependencies using npm install.
git clone https://github.com/amantyagi22/CLI-Org-Files
cd CLI-Org-Files
npm install

Usage

To use this CLI tool, follow the steps below:

  1. Run the CLI tool using the start script.
npm start
  1. You will be prompted to provide a directory path. Enter the path of the directory you want to organize.
? Please provide a directory path: /path/to/your/directory
  1. The tool will organize the files in the specified directory based on their extensions.

Example

npm start
? Please provide a directory path: /Users/home/Downloads
Files organized successfully!

Dependencies

License

This project is licensed under the ISC License.

1.0.0

7 months ago