# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 1
# self = https://watcher.sour.is/conv/wuwzlsq
用 Rust 實現一個自定義的命令行解析庫**
命令行工具是程序員的好朋友,但在構建命令行工具時,解析命令行參數可能讓人有些頭疼。雖然 Rust 生態已經有了 clap 、 structopt 這樣的成熟庫,但自己實現一個簡單的命令行解析庫,不僅能幫助我們更好地理解 Rust 的特性,還能練習一些常用技巧,比如 字符串處理 、 錯誤處理 和 模式匹配 。今天就來寫一個屬於自己的命令行解析工具,功能雖然簡單,但足夠實用。目標設定:一個輕量的命令行 ⌘ Read more