@filebox/cli
v1.0.3
Published
FileBox CLI — self-hosted file workspace command line tool
Downloads
303
Maintainers
Readme
@filebox/cli
FileBox 命令行工具,用于管理工作区、驱动配置和文件传输任务。
安装
pnpm add -g @filebox/cli使用
filebox --help
filebox init
filebox config --add
filebox list
filebox market search video
filebox market view netflix-player
filebox market install netflix-player
filebox market install ./my-plugin.fbpkg
filebox market install https://example.com/webdav.driver.js
filebox market uninstall netflix-player常用命令:
init:初始化当前工作区。config:管理驱动配置。auth:管理认证信息。list/tree/stat:查看文件。upload/download:上传和下载。copy/move/rename/remove/mkdir:文件操作。webdav/ftp/http:启动本地服务。market:查询、安装、卸载和更新插件或驱动,支持包 ID、本地文件和 URL。
默认读取当前目录下的 data/filebox.json。
插件市场地址可写入 filebox.json 的 marketplace.registry,也可以用 --registry 临时指定。
License
MIT
