New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

governify-cli

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

governify-cli

Cli for governify ecosystem

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
2
Weekly downloads
 
Created
Source

governify-cli

1. Install governify-cli

npm install governify-cli -g

2. Use cli

isa@host:~/lab$ gov
governify-cli$

A prompt will be displayed as "governify-cli"

2.1. Help inside from the own cli

governify-cli$ help

  Commands:

    help [command...]                                       Provides help
                                                            for a given
                                                            command.
    exit                                                    Exits
                                                            application.
    testlimittime <url> <method> <count> <duration> [body]  
    testinfinite <url> <method> <count> [body]              
    testfromfile <path>                                     
    ls [dir]                                                
    mkdir [dir]                                             
    pwd [dir]

2.2 Examples

Where are cli executing...

governify-cli$ pwd
/home/quique/lab

Doing any tests

governify-cli$ testlimittime http://www.google.es GET 3 2
{ totalRequest: 6,
  success: 6,
  error: 0,
  totalStack: 2,
  startTime: "2017-03-24T18:34:01.229Z",
  finishTime: "2017-03-24T18:34:03.477Z",
  lastedFor: "2248 ms",
  url: "http://www.google.es",
  method: 'GET' }

3. Use cli from bash shell

You can interact with the command called gov

3.1. Help from bash shell


isa@host:~/lab$ gov --help

  Usage: gov [options] [command]


  Commands:

    test [options]   read test from file
    cli              enter cli mode


  Options:

    -h, --help     output usage information
    -V, --version  output the version number

3.2. Examples

gov test --infiniteRequests -u http://google.es -c 5  -m GET
{ totalRequest: 5,
  success: 5,
  error: 0,
  startTime: '2017-03-24T18:41:05.759Z',
  finishTime: '2017-03-24T18:41:06.292Z',
  lastedFor: '533 ms' }

Latest release

The version 0.0.4 is the latest stable version of governify-cli component. see release note for details.

For running:

  • Download latest version from 0.0.4

Keywords

FAQs

Package last updated on 29 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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