-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcli-info
executable file
·54 lines (51 loc) · 2.14 KB
/
cli-info
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
from cli_tools_info import (
Tool,
LONG,
SHORT,
VERSION_WITH_THREE_NUMBERS_AND_DOTS,
VERSION_WITH_V_PREFIX,
run,
)
tools = [
Tool(name="nvim", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="tmux", args=SHORT, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="zellij", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="pyenv", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="grm", args="version", grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(
name="rust-analyzer", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS
),
Tool(
name="vue-language-server",
args=LONG,
grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS,
),
Tool(
name="typescript-language-server",
args=LONG,
grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS,
),
Tool(name="pyright", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="black", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="yarn", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="tldr", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="curl", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="fd", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="jq", args=LONG),
Tool(name="fzf", args=LONG),
Tool(name="git", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="ssh", args=SHORT, pipe_stderr_to_stdout=True),
Tool(name="fish", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="bat", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="rg", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),
Tool(name="exa", args=LONG, grep_string=VERSION_WITH_V_PREFIX),
Tool(
name="fisher",
args=LONG,
use_which=False,
wrap_with_fish=True,
grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS,
),
]
run(tools, headers=True)