cmd

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute 执行将所有子命令添加到根命令并适当设置标志。 这是由 main.main() 调用的。 rootCmd 只需要执行一次。

func ReScanPath added in v0.8.9

func ReScanPath(path string, reScanFile bool)

func ReScanUploadPath added in v0.8.9

func ReScanUploadPath()

ReScanUploadPath 重新扫描上传目录,因为需要设置下载路径,gin 初始化后才能执行

func SetShutdownHandler added in v0.8.9

func SetShutdownHandler()

SetShutdownHandler TODO:退出时清理临时文件的函数

func StartScan added in v0.9.7

func StartScan(args []string)

StartScan 解析命令,扫描书库

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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