Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

usage

  • Loading branch information...
commit 08c1a485a75e694e3c17e434db4f55215907d70c 1 parent d245ee0
@tj authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 test
View
9 test 100644 → 100755
@@ -1,3 +1,10 @@
#!/usr/bin/env node
-var palette = require('./');
+var palette = require('./')
+ , canvas = require('canvas')
+ , path = process.argv[2];
+
+if (!path) {
+ console.error('Usage: test <image>');
+ process.exit(1);
+}
Please sign in to comment.
Something went wrong with that request. Please try again.