Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@css-doodle/cli

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@css-doodle/cli - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

bin/index.js

@@ -26,3 +26,2 @@ #!/usr/bin/env node

async function handleGenerate(source, options) {

@@ -93,3 +92,4 @@ let { content, error } = read(source);

program
.command('screenshot')
.command('render')
.description('generate an image from the CSS Doodle source file')
.argument('<source>', 'the CSS Doodle source file used to generate the image')

@@ -96,0 +96,0 @@ .option('-o, --output <output>', 'custom filename of the generated image')

{
"name": "@css-doodle/cli",
"version": "1.0.2",
"version": "1.0.3",
"description": "The css-doodle CLI for previewing and generating images",

@@ -5,0 +5,0 @@ "bin": {

@@ -25,3 +25,3 @@ # @css-doodle/cli

Commands:
screenshot [options] <source>
render [options] <source> generate an image from the CSS Doodle source file
preview [options] <source> open a window to preview the CSS Doodle file

@@ -33,6 +33,7 @@ parse <source> print the parsed tokens, helped to debug on development

## screenshot
## render
Generate an image from the CSS Doodle source file
```bash
$ css-doodle screenshot code.css
$ css-doodle render code.css
```

@@ -45,3 +46,3 @@

```bash
$ css-doodle screenshot code.css -o result.png
$ css-doodle render code.css -o result.png
```

@@ -54,3 +55,3 @@

```bash
$ css-doodle screenshot code.css -x 4
$ css-doodle render code.css -x 4
```

@@ -86,3 +87,3 @@

Use a custom browser to preview and screenshot.
Use a custom browser to preview and generate images.

@@ -89,0 +90,0 @@ ```bash

Sorry, the diff of this file is not supported yet

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