1 个不稳定版本
0.1.0 | 2022年4月12日 |
---|
#18 在 #cli-input
12KB
254 行
ibox
简单的输入框绘制命令行实用工具。
用法
Usage: ibox [OPTION]... [QUERY]...
Search for QUERY in FILES.
Example:
ibox -l=24 'Title' 'Context' 'Question: ?>'
Options:
-b=BORDER
Specify the border characters or presets.
Presets: single (default), double, thick, curved
Default: ┌─┐│└┘
-l=LENGTH
Specify the added length of the input space after the longest line.
Default: 8
-p=X,Y
Specify the position of the top left corner of the box.
Default: current cursor position
-c
Center the box on the screen.
-s
Makes the box stretch to the terminal's sides.
-h
Print this help message and exit.
依赖项
~1–12MB
~84K SLoC