CAsMan provides a comprehensive command-line interface for managing CASM assemblies.
casman [command] [subcommand] [options]
Manage parts in the database with comprehensive functionality
Subcommands:
list
: List all parts or filter by type/polarizationadd
: Add new parts interactively (single type or all types)search
: Search for parts by criteriavalidate
: Validate parts against databaseExamples:
casman parts list # List all parts
casman parts add # Interactive part addition
casman parts search --type ANTENNA # Search for antenna parts
casman parts validate # Validate part database
Interactive barcode scanning and assembly with real-time validation
Subcommands:
stats
: Display assembly statistics and connection countsconnection
: Start interactive connection scanning with validationconnect
: Full interactive part scanning and assembly operations (recommended)Examples:
casman scan connect # Full interactive scanning workflow
casman scan connection # Basic connection scanning
casman scan stats # Show assembly statistics
Database management operations with safety features
Subcommands:
clear
: Safely clear database contents with confirmationsprint
: Display formatted database tables and recordsExamples:
casman database clear # Clear both databases (with confirmation)
casman database clear --parts # Clear only parts database
casman database clear --assembled # Clear only assembly database
casman database print # Show formatted database contents
Safety Features:
Visualize assembly chains and connections
Subcommands:
chains
: Display ASCII visualization of assembly chainssummary
: Show assembly summary statisticsweb
: Launch web-based visualization interfaceGenerate barcodes and printable pages for part identification
Subcommands:
printpages
: Generate printable barcode pages for labelingExamples:
casman barcode printpages --part-type ANTENNA --start-number 1 --end-number 50
Shell completion setup instructions
Description: Shows instructions for setting up shell completion for bash, zsh, and other shells.
Examples:
casman completion # Show completion setup instructions
casman
├── parts - Manage parts (list, add, search, validate)
├── scan - Interactive scanning and assembly
│ ├── stats - Display assembly statistics
│ ├── connection - Basic connection scanning
│ └── connect - Full interactive scanning workflow
├── database - Database management operations
│ ├── clear - Safe database clearing with confirmations
│ └── print - Formatted database display
├── visualize - Assembly visualization
│ ├── chains - ASCII chain visualization
│ ├── summary - Assembly statistics
│ └── web - Web-based visualization
├── barcode - Barcode generation
│ └── printpages - Generate printable pages
└── completion - Shell completion setup