aboutsummaryrefslogtreecommitdiff
path: root/node_modules/autoprefixer/bin
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/autoprefixer/bin')
-rwxr-xr-xnode_modules/autoprefixer/bin/autoprefixer22
1 files changed, 22 insertions, 0 deletions
diff --git a/node_modules/autoprefixer/bin/autoprefixer b/node_modules/autoprefixer/bin/autoprefixer
new file mode 100755
index 0000000..33e5864
--- /dev/null
+++ b/node_modules/autoprefixer/bin/autoprefixer
@@ -0,0 +1,22 @@
+#!/usr/bin/env node
+
+let mode = process.argv[2]
+if (mode === '--info') {
+ process.stdout.write(
+ require('../')().info() + '\n')
+} else if (mode === '--version') {
+ process.stdout.write(
+ 'autoprefixer ' + require('../package.json').version + '\n')
+} else {
+ process.stdout.write(
+ 'autoprefix\n' +
+ '\n' +
+ 'Options:\n' +
+ ' --info Show target browsers and used prefixes\n' +
+ ' --version Show version number\n' +
+ ' --help Show help\n' +
+ '\n' +
+ 'Usage:\n' +
+ ' autoprefixer --info\n'
+ )
+}