A command-line tool that Makes Handling files quick and easy.
Project description
TurboTask File Processing Toolkit
A powerful command-line toolkit for efficient file processing, specializing in CSS optimization and more.
🚀 Features
Current Capabilities
-
File Grouping
- Automatically organize files by file type
- Handle nested directory processing
-
CSS Processing
- Minification by removing comments and whitespace
- Single file or bulk directory processing
- Directory structure preservation
- Built-in validation checks
- Custom output path configuration
📦 Installation
Prerequisites: Python 3.6 or higher
Via pip (Recommended)
pip install turbotask
From Source
# Clone the repository
git clone https://github.com/Fector101/TurboTask.git
cd TurboTask
# Optional: Create and activate virtual environment
python -m venv venv
source venv/bin/activate # Unix/macOS
# or
venv\Scripts\activate # Windows
# Install from source
pip install .
🔨 Usage Guide
Note: In terminal use PascalCase it's TurboTask --help not turbotask --help
File Grouping
TurboTask group [optional_main_path]
The argument:
- [optional_main_path] The main Folder the code will start the scan from (default is './' the folder the code is being ran from).
Examples:
# Group files in current directory
TurboTask group
# Group files in specific directory
TurboTask group "C:/Users/Bob/Downloads"
CSS Processing Commands
Remove Whitespace and Comments
TurboTask noWhiteSpace <input-css-file> [output-file]
Arguments:
input-css-file: Path to source CSS fileoutput-file: (Optional) Destination path for processed file- Defaults to
./TurboTask-output/[original-filename]
Examples:
# Basic usage
TurboTask noWhiteSpace styles.css
# Custom output path
TurboTask noWhiteSpace styles.css dist/minified.css
🤝 Contributing
We appreciate contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Please ensure your PR:
- Includes a clear description of the changes
- Updates relevant documentation
- Adds tests if applicable
🐛 Reporting Issues
Found a bug? Please open an issue on our GitHub Issues page.
☕ Support the Project
If you find TurboTask helpful, consider buying me a coffee! Your support helps maintain and improve the project.
Your support helps me to:
- Maintain and improve TurboTask
- Add new features
- Keep the project active
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
👤 Author
Fabian
- Email: fector101@yahoo.com
- GitHub: @Fector101
🙏 Acknowledgments
- Inspired by the open-source CLI tool community
- Thanks to all contributors who help improve TurboTask
📚 Documentation
For detailed documentation and advanced usage examples, visit our GitHub.
Found this project helpful? Give it a ⭐️ on GitHub!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file turbotask-0.2.3-py3-none-any.whl.
File metadata
- Download URL: turbotask-0.2.3-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d483fcd39223c344498a8e8b63e60c0ae73f94aba913ae8e4987c81e97250d10
|
|
| MD5 |
0a0ab769f7976da59f86617f0f7a8861
|
|
| BLAKE2b-256 |
4f9d838452d1e6dad0dfedda18feed7aa0edc607f7f16c3656776a9788cf5b15
|