Zhiyong(Johnny) Zhao
f2bec94681
fix: fix self-update bugs
...
1. added -v for update command, only update binary when -v is assigned;
2. removed the reference to semver library, implemented repo version compare functions;
3. edited release-aur-git rule in go.yml, won't replace the hyphen to dot in release version;
2023-09-28 16:31:29 -04:00
Zhiyong(Johnny) Zhao
43a308056f
feat: implement self-update for nali ( #177 )
2023-09-28 22:41:43 +08:00
M09Ic
56be0c61ca
revolt output behavior, making it consistent with the original.
2023-05-21 14:10:31 +08:00
M09Ic
05d918528f
Fix the bug that the output format is different from the original version.
2023-05-20 17:37:24 +08:00
M09Ic
d6d26f71f8
Fix the difference in output between stdin and cmd input.
2023-05-20 17:24:50 +08:00
Jason_R4bb1t
ff1449a4d1
add flag -j/--json. json format output.
2023-05-20 17:23:31 +08:00
zu1k
8aebd93126
fix : #155
2023-01-08 09:55:06 +08:00
zu1k
60bab5e13b
fix: quit & exit should exit nali
...
Signed-off-by: zu1k <i@zu1k.com>
2022-08-15 09:40:14 +08:00
mzz2017
a40fa68240
fix: destroyed format
2022-08-14 22:54:24 +08:00
mzz2017
2072a5ce3d
chore: format the import
2022-08-14 22:40:52 +08:00
mzz2017
e86169b4cb
fix: a problem that cannot read mtr output from pipe
2022-08-14 21:39:53 +08:00
zu1k
c0643f7731
feat: Database from config
...
Signed-off-by: zu1k <i@zu1k.com>
2022-05-09 14:48:28 +08:00
biwenliang
303e23590a
feat: make update module flex
2022-05-05 11:49:11 +08:00
zu1k
fe447a34f8
chore: Update cdn database url
...
Signed-off-by: zu1k <i@zu1k.com>
2022-04-03 17:25:55 +08:00
zu1k
cc95913d0b
docs: Update readme
...
Signed-off-by: zu1k <i@lgf.im>
2022-03-02 12:51:21 +08:00
zu1k
6bc863cc69
refactor: project structure
...
Signed-off-by: zu1k <i@lgf.im>
2022-03-02 12:43:41 +08:00
zu1k
57ecaa8591
fix ipv4 in ipv6 parse
...
Signed-off-by: zu1k <i@lgf.im>
2021-12-17 13:31:08 +08:00
zu1k
c8b3130e1a
Add version flag
...
Signed-off-by: zu1k <i@lgf.im>
2021-12-17 13:24:13 +08:00
zu1k
bf5c917155
update deps
2021-08-11 17:54:10 +08:00
zu1k
592a2eabb5
color print
2021-08-03 07:54:35 +08:00
zu1k
8cb2d500f1
feat: Define DB interface
2021-08-02 12:01:25 +08:00
zu1k
ac1ca3f661
move system related code to app
2020-08-10 13:01:43 +08:00
zu1k
23ba5a45a5
transform GBK to UTF-8 when file type is 3
2020-08-10 12:34:21 +08:00
zu1k
d5d766f536
update all db
2020-07-22 07:25:01 +08:00
zu1k
bee86980bb
remove indexLen
2020-07-22 06:45:58 +08:00
zu1k
ace8309f64
add trim for result
2020-07-21 17:54:57 +08:00
zu1k
ada57ac6d9
add init for root
2020-07-19 07:36:58 +08:00
zu1k
d8b2da8371
parse cdn when parse stdin
2020-07-19 07:24:25 +08:00
zu1k
87071a4244
add cdn parse
2020-07-18 14:18:54 +08:00
zu1k
71202e628a
add help doc
2020-07-18 10:53:44 +08:00
zu1k
8068e43037
mod
2020-07-18 10:48:41 +08:00
zu1k
3554f025e9
mod
2020-07-17 13:49:11 +08:00
zu1k
62f5dcf081
update readme
2020-07-17 13:24:05 +08:00
zu1k
129903ac22
add chunzhen update
2020-07-17 12:12:04 +08:00
zu1k
2771e8de52
add stdin parse
2020-07-17 10:52:36 +08:00
zu1k
d408557a09
mod comment
2020-07-17 09:55:24 +08:00
zu1k
7c49923aa7
add comment
2020-07-17 09:50:06 +08:00
zu1k
ea9fd5d6c3
opti
2020-07-17 09:43:48 +08:00
zu1k
b71b39f1f0
move db to ~/.nali
2020-07-17 09:41:09 +08:00
zu1k
b6d44f2c96
init
2020-07-17 09:05:25 +08:00