rsearch

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

README

rsearch

用于搜索私有库中提交的数据

[!NOTE] 该项目自用,如果想使用该工具。

1、 fork 该项目

2、 修改 common/constants.go 中的 OwnerRepo 为自己的 github 账号和仓库

3、 go install github.com/github账号/rsearch@latest

Install

go install github.com/xiaoxuan6/rsearch@latest

Example

同步数据到本地 sqlite

rsearch sync --token="xxx"

搜索数据

rsearch all             # 查看所有数据
rsearch "content"       # 使用模糊查询
rsearch "" tag          # 搜索标签所有数据
rsearch "content" tag   # 搜索标签中匹配数据
rsearch tags            # 查看所有标签

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL