1.0.7 • Published 6 years ago

psc-tool v1.0.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 years ago

PSC is a CLI tool for publishing a local file as a Bitbucket Snippet.

Usage

  psc [options] <file>

    Options:

      -h, --help                 output usage information
      -u, --username <username>  the user to authenticate as
      -p, --password <password>  the user's password
      -b, --browser              open the snippet in the system browser

Installation

  • Install Node.js and npm

  • Run npm install -g psc-tool

  • Run psc --help or psc some_file to upload it to Bitbucket.

Credential management

The first time you upload a file you will be prompted for your Bitbucket username and password. These will be used to retrieve an OAuth refresh token which is stored in ~/.bitbucket-snippet and used for subsequent requests. Treat this token carefully as it can be used to read and write snippets on your behalf.

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago