Socket
Book a DemoInstallSign in
Socket

git-pictures-bed

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-pictures-bed

利用github托管的图床工具

0.0.15
latest
Source
npmnpm
Version published
Weekly downloads
15
Maintainers
1
Weekly downloads
 
Created
Source

git-pictures-bed

利用github做图床

Installation

npm install git-pictures-bed -g

Compatibility

pb -h

Usage: pb [options]

Options:
  -V, --version      output the version number
  -p, --path <path>  上传指定路径下的文件
  --init <git>       初始化环境(git地址)
  --update           升级工具版本
  --server           启动本地服务
  -h, --help         output usage information

初始化

在github上创建一个空仓库作为存放图片的地方。

pb --init git@xxxx

git@xxx 为创建仓库的git地址

pb --init

两种方式上传图片

1、命令行上传图片

pb --path '/xxx/image-20191227123429799.png'

image-20191227124230098.png

2、本地服务上传图片

pb --server

2020-2-2_1580656796133.png

FAQs

Package last updated on 08 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.