New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/ddollar/canvas-cli

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ddollar/canvas-cli

  • v0.0.0-20150428190600-d9ef541e7caf
  • Source
  • Go
  • Socket score

Version published
Created
Source

Canvas CLI

Usage:
	canvas new [<filename>]
	canvas list
	canvas pull <id>
	canvas delete <id>
	canvas account
	canvas login
	canvas -h | --help
	canvas --version

Options:
  -h, --help    Show this screen.
  --version     Show version.

Installation

  • OS X: Canvas 0.0.2

Usage

canvas new

Create a new canvas and output the URL to STDOUT.

Examples:

Creating a blank document

$ canvas new
https://beta.usecanvas.com/csquared/-/d6ffa6aa-63d1-44b0-8d99-07d25a9db115

Creating from a file

$ canvas new README.md
https://beta.usecanvas.com/csquared/-/dbad8e34-0b2b-4ce7-80b6-7dc395b6a28e

Creating from STDIN

$ cat README.md | canvas new
https://beta.usecanvas.com/csquared/-/fb8f489a-ecba-47fa-840c-325cf13d7885

Create and open in a browser

$ canvas new | xargs open

canvas pull

Output document in format to STDOUT

$ canvas pull fb8f489a-ecba-47fa-840c-325cf13d7885
# Canvas CLI

...

Creating HTML

$ npm install -g marked
$ canvas pull fb8f489a-ecba-47fa-840c-325cf13d7885 | marked
<h1 id="canvas-cli">Canvas CLI</h1>

...

note: this behavior will soon be replaced with the --format flag.

Development

Build

./build.sh

Development

go run *.go

FAQs

Package last updated on 28 Apr 2015

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc