v0.1.0
@dchighs/dc-tools-cli - Initial Production Release
We are excited to announce the official initial release of @dchighs/dc-tools-cli (v0.1.0) — a modern, high-performance Command Line Interface designed for downloading Dragon City game assets, querying localization & translation strings, parsing URL asset metadata, and managing game configurations.
✨ Highlights & Key Features
🎨 1. Stylized 3D CLI Banner & User Experience
- Interactive Terminal UI: Styled ASCII 3D banner using full term-width centering.
- Card & Formatted Logs: Clean, key-value formatted card outputs with mapped human-readable labels (e.g.
dci (iOS),3 (Adult),@2x (large),(none)). - Interactive Search Pagination: Navigate translation search results page-by-page using Node
readlinepagination (nnext,pprev,qquit).
🐉 2. Dragon & Game Asset Downloader (download)
- All-In-One Dragon Downloader (
download dragon:all): Download all growth phases (phase0tophase3) and all asset types (sprite,thumbnail,flash,spine) in a single command. - Individual Assets:
download dragon:spritedownload dragon:thumbnaildownload dragon-animation:flashdownload dragon-animation:spine
- Game Elements:
download building:sprite&building:thumbnaildownload habitat:sprite&habitat:thumbnaildownload decoration:sprite&decoration:thumbnaildownload chest:spritedownload island-package(.zip)download music(.mp3)
🌐 3. Localization & Translation Engine (localization)
- Search across 10 supported languages (
en,pt,es,fr,de,it,ja,ru,ko,tr). - Lookup dragon details by ID (
--dragon-id <id>). - Reverse lookup by key (
--key) or value string (--value). - Interactive terminal pagination (
-s, --search <query>). - Export localization datasets directly to JSON (
-o <file>).
🔍 4. URL Metadata Extraction (extract)
- Extract dragon ID, image name, phase, quality, skin, and platform prefix directly from CDN asset URLs:
extract dragon:sprite <url>extract dragon:thumbnail <url>extract dragon-animation:flash <url>extract dragon-animation:spine <url>
⚙️ 5. Game Configuration (config)
- Authenticated config fetching via
--user-id,--auth-token, and--url. - Raw public config JSON retrieval.
📦 6. Standalone Executable Packaging (build:exe)
- Bundles full CLI binaries for Windows, Linux, and macOS without requiring Node.js to be pre-installed!