Introduction
Datoso provides a comprehensive command-line interface (CLI) for managing ROM DAT files from various sources. The CLI follows a subcommand pattern where each major operation has its own command with specific flags and options.Basic Usage
Global Options
Display the version of Datoso and exit
Enable verbose output for detailed logging and debugging information
Common Patterns
Working with Seeds
Seeds are data source plugins that Datoso uses to fetch and process DAT files. Most seed operations follow this pattern:Configuration Management
Datoso uses a hierarchical configuration system with global and local settings:- Global config:
~/.config/datoso/datoso.config - Local config:
.datosorcin current directory
Working with DATs
DAT files can be queried and modified using thedat command:
Command Categories
Core Commands
- seed - Manage seed plugins (list, details, fetch, process)
- dat - Query and modify DAT file metadata
- config - View and modify configuration settings
Utility Commands
- doctor - Validate seed installations and repair issues
- import - Import existing DAT files from RomVault
- deduper - Deduplicate DAT files by removing entries from parent DATs
Maintenance Commands
- log - Display the Datoso log file contents
Output Formats
Datoso uses color-coded output to improve readability:- Green - Success messages and active elements
- Cyan - Information and identifiers
- Blue - Values and results
- Yellow - Warnings
- Red - Errors and failures
Exit Codes
Datoso follows standard Unix exit code conventions:0- Success1- Error or failure
Getting Help
For help with any command, use the-h or --help flag:
Next Steps
- Learn about seed commands for managing data sources
- Configure Datoso with config commands
- Query DAT files using dat commands