CommandLine: adds dynamic output refresh support with interval option

This commit is contained in:
李通洲
2025-11-05 10:00:31 +08:00
parent dbb9d8a660
commit 302b8a7b1b
6 changed files with 54 additions and 7 deletions
+9
View File
@@ -74,6 +74,15 @@
},
"desc": "Enable or disable JSON output",
"remark": "Shortcut for `--format json`"
},
{
"long": "dynamic-interval",
"desc": "Keep fastfetch open and update the output every <num> milliseconds",
"remark": "0 (default) to disable the behavior; don't work with --json",
"arg": {
"type": "num",
"default": 0
}
}
],
"Config": [