lspcli
所属分类:工具库
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-11-09 15:21:09
上 传 者:
sh-1993
说明: 从一个cli管理所有LSP和编程工具。
(Manage all your LSPs and programming tools from one cli.)
文件列表:
.vscode/ (0, 2023-11-09)
.vscode/launch.json (519, 2023-11-09)
LICENSE (1102, 2023-11-09)
Makefile (389, 2023-11-09)
assets/ (0, 2023-11-09)
assets/lspcli.mkv (3433054, 2023-11-09)
cmd/ (0, 2023-11-09)
cmd/lspcli/ (0, 2023-11-09)
cmd/lspcli/commands/ (0, 2023-11-09)
cmd/lspcli/commands/describe.go (2521, 2023-11-09)
cmd/lspcli/commands/install.go (2523, 2023-11-09)
cmd/lspcli/commands/list.go (2813, 2023-11-09)
cmd/lspcli/commands/root.go (2445, 2023-11-09)
cmd/lspcli/commands/update.go (2468, 2023-11-09)
cmd/lspcli/main.go (1192, 2023-11-09)
cmd/lspcli/utils/ (0, 2023-11-09)
cmd/lspcli/utils/utils.go (1741, 2023-11-09)
go.mod (1312, 2023-11-09)
go.sum (49903, 2023-11-09)
internal/ (0, 2023-11-09)
internal/utils/ (0, 2023-11-09)
internal/utils/slice.go (709, 2023-11-09)
pkg/ (0, 2023-11-09)
pkg/commands/ (0, 2023-11-09)
pkg/commands/describe.go (1046, 2023-11-09)
pkg/commands/install.go (1163, 2023-11-09)
pkg/commands/list.go (1754, 2023-11-09)
pkg/commands/remove.go (1155, 2023-11-09)
pkg/commands/update.go (1155, 2023-11-09)
pkg/handlers/ (0, 2023-11-09)
pkg/handlers/archive-handler.go (2129, 2023-11-09)
pkg/handlers/exec-permission-handler.go (403, 2023-11-09)
pkg/handlers/github-handler.go (3715, 2023-11-09)
pkg/handlers/install-list-handler.go (1542, 2023-11-09)
pkg/handlers/link-handler.go (516, 2023-11-09)
... ...
# lspcli
Manage all your LSPs and programming tools from one cli.
https://github.com/Mth-Ryan/lspcli/assets/46976272/991f917a-ce09-4775-8295-7347165cc26b
## Usage
You can see all commands and examples with the `--help` flag. Here some commands examples:
```bash
lspcli list # list all tools
lspcli install typescript-language-server # install one tool
lspcli update omnisharp # update one tool
lspcli remove tailwind-language-server # remove one tool
lspcli describe svelte-language-server # show all info of one tool
```
## Installing
### From Source:
For the installation you will need some dependencies: `go`, `git` and `GNU Make`:
```bash
# Clone this repo:
git clone https://github.com/Mth-Ryan/lspcli
# Install:
make install
# You can change the the installation folder (not recommended) using:
# make install INSTALL_DIR=other_location.
```
Then, add the respective env script to your shell init file. Example `~/.bashrc` or `~/.zshrc`:
```bash
. ~/.local/share/lspcli/env.bash # For GNU Bash
. ~/.local/share/lspcli/env.zsh # For Zsh
. ~/.local/share/lspcli/env.ps1 # For Powershell
```
This will only set the lspcli bin folder to your path, you can do
manually for any other shell and the program will work as expected.
## How to build for development
You will need the same dependencies of the [installation](https://github.com/Mth-Ryan/lspcli/blob/master/#installing). With this dependencies installed, build the
cli and the scripts:
```bash
# Clone this repo:
git clone https://github.com/Mth-Ryan/lspcli
# Build all:
make # or make all
# Run with the current dir runtime:
./bin/lspcli --runtime ./runtime
```
## How to contribute
Just create a fork of the repository and send a pull request.
近期下载者:
相关文件:
收藏者: