sw_galaxy_map_cli
sw_galaxy_map_cli is the command-line frontend for the sw_galaxy_map project.
It provides an interactive and script-friendly interface to explore the Star Wars galaxy through a local SQLite database.
Features
- search planets by name or alias
- display planet details
- find nearby planets
- inspect unknown / unclassified planets
- compute routes between planets
- initialize and update the local database
Run
From the workspace:
Once installed:
Example commands
Search planets
Find nearby planets
List unknown planets
Search known planets near an unknown record
Find unknown planets near a known planet
Compute a route
Initialize or update the database
Unknown planets support
The CLI supports inspection of incomplete or skipped records stored in planets_unknown.
Features include:
- paginated listing
- stable internal IDs
- nullable
fid,x,yhandling - proximity queries from unknown → known
- proximity queries from known → unknown
Installation
After publishing to crates.io:
License
Licensed under either:
- MIT
- Apache-2.0
Acknowledgements
Planetary data are based on the Star Wars Galaxy Map by Henry Bernberg.
This project is for educational and non-commercial use only.