FurLab is a .NET-based CLI tool designed to automate common development tasks. It provides a unified interface for database operations, file management, AI tool installation, and Windows package management.
- Database Utilities (Backup, Restore, PgPass)
- File Utilities (Combine)
- Claude Code Integration
- OpenCode Integration
- Winget Package Manager
- SQL Query & Export (Multi-server & Multi-database)
- Docker Utilities (Postgres)
- Windows Features Manager
- Settings Management (Database Servers)
Provide utilities for backup, restore, and credential management for PostgreSQL databases.
The database command provides functionality to create backups and restore PostgreSQL databases using pg_dump and pg_restore, as well as managing the pgpass.conf file.
Creates backups of PostgreSQL databases using pg_dump.
Restores PostgreSQL databases using pg_restore from .dump files.
Manages the pgpass.conf file to allow passwordless connections. Supports the use of wildcards (*) for host, port, and user.
# Backup a single database
fur database backup mydb -H localhost -U postgres
# Backup all databases
fur database backup --all -H localhost -U postgres -o "C:\backups"
# Restore a specific database
fur database restore mydb "C:\backups\mydb.dump"
# Add entry to pgpass
fur database pgpass add mydb --host localhost --username postgres --password mypassword
# List pgpass entries
fur database pgpass listProvide utilities for manipulating text files, such as combining and converting encoding.
The file command provides tools for batch file processing, supporting glob patterns for file selection.
Takes multiple input files matching a glob pattern and combines them into a single output file.
Converts text files between different encodings (e.g., Latin1 to UTF-8). Features automatic source encoding detection, backup support, and preservation of file metadata.
# Combine all SQL files in a directory
fur file combine -i "C:\temp\*.sql" -o "C:\temp\result.sql"
# Convert all .cs files to UTF-8 (auto-detection)
fur file convert-encoding -i "**/*.cs" --to UTF-8
# Convert files with backup and text-only filtering
fur file convert-encoding -i "docs/*" --from Windows-1252 --to UTF-8 --backup --text-onlyInstall and configure the Claude Code CLI.
# Install Claude Code
fur claude install
# Configure MCP database settings
fur claude settings mcp-database
# Configure Windows environment
fur claude settings win-envConfigure the OpenCode CLI tool.
# Configure MCP database settings in OpenCode
fur opencode settings mcp-database
# Set default model for OpenCode
fur opencode settings default-model claude-3-5-sonnet-20241022 --globalBackup and restore Windows packages installed via winget.
# Package backup
fur winget backup -o "C:\backups"
# Restore packages
fur winget restore -i "C:\backups\winget-import.json"Execute SQL scripts on one or more databases/servers and export to CSV.
Supports parallel execution across multiple servers configured in settings db-servers.
# Execute on a specific database
fur query run -f script.sql -d mydb -H localhost
# Execute on ALL configured servers
fur query run -f script.sql --allManage Docker containers useful for development.
- Postgres: Starts a local PostgreSQL container with default settings.
fur docker postgresBackup and restore Windows optional Features.
fur windowsfeatures list
fur windowsfeatures export -o "C:\backups\features.json"
fur windowsfeatures import -i "C:\backups\features.json"Manage database servers configured for global use in FurLab.
Allows registering servers with encrypted credentials to facilitate use in query and database commands.
# List servers
fur settings db-servers ls
# Add server
fur settings db-servers add PROD --host 10.0.0.1 --username admin --database main
# Set password (encrypted)
fur settings db-servers set-password PROD
# Test connection
fur settings db-servers test PROD| Command | Description |
|---|---|
fur database |
PostgreSQL utilities (backup, restore, pgpass) |
fur file |
File utilities (combine, convert-encoding) |
fur claude |
Claude Code installation and configuration |
fur opencode |
OpenCode configuration |
fur winget |
Winget package backup and restore |
fur query run |
Multi-server SQL execution with CSV export |
fur docker |
Docker utilities (postgres) |
fur windowsfeatures |
Manage Windows features (dism) |
fur settings db-servers |
Manage registered database servers |