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

argus

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

argus - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

lib/standard.pegjs

2

package.json
{
"name":"argus",
"description":"Complex CLI argument parser",
"version":"0.0.1",
"version":"0.0.2",
"homepage":"http://github.com/wearefractal/argus",

@@ -6,0 +6,0 @@ "repository":"git://github.com/wearefractal/argus.git",

@@ -21,3 +21,3 @@ ![status](https://secure.travis-ci.org/wearefractal/argus.png?branch=master)

Argus allows you to pass an array of complex data to your application through a CLI. This can be an array of objects, strings, numbers, you name it. Anything that is a valid JSON array can be used. Ideally when you get this array of objects you would pass it into whatever function was being called.
Argus allows you to pass an array of complex data to your application through a CLI. This can be an array of objects, strings, numbers, you name it. Anything valid JSON array can be used.

@@ -27,3 +27,13 @@ ## Usage

```coffee-script
mycli dostuff["johnny boy",true,-1]
# You can pass an array of JSON values
mycli dostuff["johnny boy",true,-1] # {"dostuff":["johnny boy",true,-1]}
# You can set it to a single JSON value
mycli dostuff=true # {"dostuff":true}
# You can mix single and multi-value commands
mycli dostuff=true:otherstuff[true,2.05,"test"] # {"dostuff":true, "otherstuff":[true,2.05,"test"]}
# Non-JSON arguments used with = will be turned into strings
mycli dostuff=testlol # {"dostuff":"testlol"}
```

@@ -33,3 +43,3 @@

Bash doesn't agree with a lot of characters so some escaping may be required. Still looking for a solution to this.
Bash doesn't agree with a lot of JSON characters so some escaping may be required. Still looking for a solution to this.

@@ -36,0 +46,0 @@ ## LICENSE

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