Skip to content
 
 

Repository files navigation

dboxpaper

Test Status Go Report Card

dboxpaper

client for Dropbox Paper

Usage

NAME:
   dboxpaper - Dropbox Paper client

USAGE:
   dboxpaper [global options] command [command options] [arguments...]
   
VERSION:
   0.0.1
   
AUTHOR(S):
   mattn <mattn.jp@gmail.com> 
   
COMMANDS:
     cat         Cat paper
     delete      Delete paper permanently
     list, ls    Show papers
     upload, up  Upload paper
     help, h     Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

list papers

$ dboxpaper list

cat paper

$ dboxpaper cat XXXXXXXXXXX

upload paper

$ cat README.md | dboxpaper upload

update paper

$ cat README.md | dboxpaper upload XXXXXXXXXXX

delete paper

$ dboxpaper delete XXXXXXXXXXX

Installation

$ go install github.com/Koswu/dboxpaper@latest

Configuration

Dropbox App Credentials

dboxpaper requires you to set the following environment variables with your Dropbox App credentials:

  • DROPBOX_CLIENT_ID: Your Dropbox App's Client ID (required)
  • DROPBOX_CLIENT_SECRET: Your Dropbox App's Client Secret (required)

Example:

export DROPBOX_CLIENT_ID="your_client_id"
export DROPBOX_CLIENT_SECRET="your_client_secret"
dboxpaper list

To create a Dropbox App and obtain these credentials, visit the Dropbox App Console.

License

MIT

Author

Yasuhiro Matsumoto (a.k.a. mattn)

About

client for Dropbox Paper

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages