Comparing version 1.0.2 to 1.0.3
@@ -33,3 +33,3 @@ #!/usr/bin/env node | ||
} | ||
}).usage('tccli <operation> <iface> [options]').option('-d --direction [direction]', 'Rule traffic direction. Allowed outgoing or incoming.', 'outgoing', /(outgoing|incoming)/).option('-n --network [network]', 'Network including mask', '0.0.0.0/0', /(\d{1,3}\.){3}\d{1,3}\/\d{1,2}/).option('--srcPort [port]', 'Destination port.').option('--dstPort [port]', 'Source port.').option('-p --protocol [protocol]', 'Protocol of rules. Only supported IPv4 right now.', 'ip', /ip/).option('--delay [time]', 'Delay including unit. Ex: 10ms').option('--jitter [time]', 'Delay variation including unit. Ex: 10ms').option('--loss [percentage]', 'Packet loss including unit. Ex: 5%').option('--corrupt [percentage]', 'Packet corruption including unit. Ex: 1%').option('--rate [bandwidth]', 'Bandwith limit including unit. Ex: 10Mbit').parse(process.argv); | ||
}).usage('<operation> <iface> [options]').option('-d --direction [direction]', 'Rule traffic direction. Allowed outgoing or incoming.', 'outgoing', /(outgoing|incoming)/).option('-n --network [network]', 'Network including mask', '0.0.0.0/0', /(\d{1,3}\.){3}\d{1,3}\/\d{1,2}/).option('--srcPort [port]', 'Destination port.').option('--dstPort [port]', 'Source port.').option('-p --protocol [protocol]', 'Protocol of rules. Only supported IPv4 right now.', 'ip', /ip/).option('--delay [time]', 'Delay including unit. Ex: 10ms').option('--jitter [time]', 'Delay variation including unit. Ex: 10ms').option('--loss [percentage]', 'Packet loss including unit. Ex: 5%').option('--corrupt [percentage]', 'Packet corruption including unit. Ex: 1%').option('--rate [bandwidth]', 'Bandwith limit including unit. Ex: 10Mbit').parse(process.argv); | ||
@@ -36,0 +36,0 @@ var rule = ['network=' + _commander2.default.network]; |
{ | ||
"name": "tccli", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"author": "J. Victor Soto", | ||
@@ -27,3 +27,3 @@ "license": "MIT", | ||
"debug": "^2.6.8", | ||
"tc-wrapper": "^1.0.3" | ||
"tc-wrapper": "^1.0.4" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9675
79
Updatedtc-wrapper@^1.0.4