Developer productivity toolkit - a collection of useful command-line tools for everyday tasks.
- File Organizer - Organize files by type, date, or get statistics
- Password Generator - Generate secure passwords with strength checking
- Expense Tracker - Track expenses with categories and reports
- Format Converter - Convert between JSON, YAML, TOML, CSV
- Snippet Manager - Save, search, and manage code snippets
# Clone the repository
git clone https://github.com/username/devkit-cli.git
cd devkit-cli
# Install dependencies
pip install -r requirements.txt
# Install the package
pip install -e .# Organize files by type (Images, Documents, Videos, etc.)
devkit organize by-type ~/Downloads
devkit organize by-type ~/Downloads --move # Move instead of copy
# Organize files by date (YYYY/MM structure)
devkit organize by-date ~/Documents
# Show file statistics
devkit organize stats ~/Downloads# Generate a password (default: 16 chars, all character types)
devkit password generate
# Generate with custom options
devkit password generate -l 24 -n 5 --show-entropy
# Generate without symbols
devkit password generate --no-symbols
# Check password strength
devkit password check "MyP@ssw0rd!"# Add an expense
devkit expense add 25.50 "Lunch" -c "Food"
devkit expense add 1200 "Rent" -c "Housing" --currency EUR
# List recent expenses
devkit expense list
devkit expense list -c "Food" --last 20
# Show summary by category
devkit expense summary --period month
# Export to CSV
devkit expense export --format csv -o my_expenses.csv
# Delete an expense
devkit expense delete 5# Convert between formats
devkit convert file config.yaml config.json
devkit convert file data.json data.csv
devkit convert file settings.toml settings.yaml
# Preview a file with syntax highlighting
devkit convert preview config.json
# Validate a file
devkit convert validate data.yaml
# Show file info
devkit convert info config.json# Add a snippet
devkit snippet add "Quick Sort" -c "def quicksort(arr): ..." -l python -t "sort,algorithm"
# Add from file
devkit snippet add "React Hook" -f useAuth.ts -t "react,hooks"
# List all snippets
devkit snippet list
devkit snippet list -t "react" -l "javascript"
# Show a snippet with syntax highlighting
devkit snippet show 1
# Copy to clipboard
devkit snippet copy 1
# Search snippets
devkit snippet search "sort"
devkit snippet search "react" --code # Search in code too
# List all tags
devkit snippet tags
# List all languages
devkit snippet languages- Expenses:
~/.devkit/expenses.json - Snippets:
~/.devkit/snippets.json
# Preview what will be organized
devkit organize stats ~/Downloads
# Organize by file type
devkit organize by-type ~/Downloads --move# Generate 5 passwords with 24 characters
devkit password generate -l 24 -n 5 --show-entropy
# Check if your current password is strong
devkit password check "hunter2"# Add expenses throughout the month
devkit expense add 45.00 "Groceries" -c "Food"
devkit expense add 12.50 "Netflix" -c "Entertainment"
devkit expense add 60.00 "Electric bill" -c "Utilities"
# See monthly summary
devkit expense summary --period month
# Export for spreadsheet
devkit expense export --format csv# Save useful snippets
devkit snippet add "Python HTTP Server" -c "python3 -m http.server 8000" -l bash -t "python,server"
devkit snippet add "Git Undo" -c "git reset --soft HEAD~1" -l bash -t "git,undo"
# Find snippets later
devkit snippet search "server"
devkit snippet copy 1 # Copy to clipboardContributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your 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
This project is licensed under the MIT License - see the LICENSE file for details.