0.0.15 • Published 4 years ago

git-pictures-bed v0.0.15

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

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

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago