Migration Guide
This guide helps you migrate from other tools and from previous versions of Cabriolet.
From Legacy Cabriolet Commands
Cabriolet now provides unified commands that work with all formats through automatic format detection. The legacy format-specific commands are maintained for backward compatibility.
Unified vs Legacy Commands
| Legacy Command | Unified Command | Notes |
|---|---|---|
|
| Now works with all formats |
|
| Auto-detects CHM |
|
| Auto-detects SZDD |
|
| Auto-detects SZDD from extension |
|
| Auto-detects CHM |
|
| Auto-detects CHM |
|
| Auto-detects from extension |
|
| Auto-detects KWAJ |
|
| Auto-detects KWAJ |
|
| Auto-detects KWAJ |
|
| Auto-detects HLP |
|
| Auto-detects HLP |
|
| Auto-detects HLP |
|
| Auto-detects LIT |
|
| Auto-detects LIT |
|
| Auto-detects LIT |
|
| Auto-detects OAB |
|
| Auto-detects OAB |
|
| Auto-detects OAB |
Migration Examples
CHM Files
Before:
cabriolet chm-list help.chm
cabriolet chm-extract help.chm output/
cabriolet chm-info help.chmAfter:
cabriolet list help.chm
cabriolet extract help.chm output/
cabriolet info help.chmWhy the Change?
The unified command interface provides several benefits:
-
MECE Compliance: Commands are now mutually exclusive and collectively exhaustive - one command per operation, regardless of format
-
Simplicity: No need to remember format-specific commands
-
Discoverability: Users can learn one set of commands that work everywhere
-
Future-Proof: New formats are added to the registry without requiring new commands
-
Consistency: All formats use the same command structure