securityos/node_modules/shell-quote/example/env.js

6 lines
128 B
JavaScript

'use strict';
var parse = require('../').parse;
var xs = parse('beep --boop="$PWD"', { PWD: '/home/robot' });
console.dir(xs);