@sckrz/devbox
v0.1.7
Published
Developer Toolbox CLI - A comprehensive file and code management tool
Downloads
25
Maintainers
Readme
DevBox CLI
A comprehensive file and code management CLI tool for developers.
Installation
# Global installation
npm install -g @sckrz/devbox
# Or use directly with npx
npx @sckrz/devbox --help
# Or with pnpx
pnpx @sckrz/devbox --helpUsage
# Using the primary command
devbox --help
# Using aliases
devtoolbox --help
dtb --help
# Or via npx
npx @sckrz/devbox --helpAvailable Commands
| Command | Alias | Description |
|---------|-------|-------------|
| rename | rn | Advanced file and folder renaming with pattern matching |
| regex-builder | rb | Interactive regex pattern builder |
| encrypt | enc | Encrypt files with AES-256-GCM encryption |
| decrypt | dec | Decrypt encrypted files |
| fileops | fo | Advanced file operations (copy, move, delete) |
| cleanup:node | cn | Clean up node_modules directories |
| cleanup:dotnet | cdn | Clean up .NET bin and obj directories |
| discover | find | Fast file discovery with pattern matching |
| state | st | Manage global application state |
| interactive | i | Launch interactive mode with guided menus |
| sessions | sess | Manage sessions and operation history |
| audit | log | Manage and view audit logs |
| keychain | kc | Manage passwords in OS keychain |
| auth | authenticate | Manage authentication and sessions |
| theme | th | Manage color themes |
| tools | tool | Manage tool registry |
| plugin | pl | Manage plugins |
| api | serve | Start the REST API server |
| azure-blob | azblob | Azure Blob Storage operations |
Examples
# Rename files with pattern matching
devbox rename --pattern "*.txt" --prefix "backup_"
# Discover files
devbox discover "**/*.js"
# Clean up node_modules
devbox cleanup:node --dry-run
# Launch interactive mode
devbox interactive
# Manage plugins
devbox plugin list
devbox plugin install ./plugins/my-pluginProgrammatic Usage
import { ConfigManager, logger, discoverFiles } from '@sckrz/devbox';
// Use the exported utilities in your own scripts
const files = await discoverFiles('.', ['**/*.ts']);Documentation
- Plugin System - Extend DevBox with custom plugins
- Theme System - Customize CLI colors and appearance
- Interactive Mode - Guided menu-driven interface
- Help System - Built-in help and documentation
- Regex Builder - Interactive regex pattern builder
- Table Usage - Table formatting utilities
- Plugin API - Plugin development API reference
Requirements
- Node.js >= 18.0.0
License
MIT
