Giter Club home page Giter Club logo

cli's Introduction

Greip CLI

The official command-line interface (CLI) for Greip.

Report Issue · Request Feature · API Documentation · Website

NPM Package Github Repository

npm version   GitHub code size in bytes   License: Apache 2.0   API Status


Installation

npm i --global ggip

or

yarn global add ggip

Usage


$ ggip help
Usage: ggip [options] [command]

Greip CLI is a command-line interface for the Greip.io

Options:
-h, --help Display help for command
-v, --version Display the current version

Commands:
login <token> Login to the CLI
logout Logout from the CLI
me [options] Display your IP address and location information
lookup [options] <ip> Lookup a given IP address and display its location information
country [options] <country> Display information about a given country
asn [options] <asn> Display information about a given ASN
bin [options] <bin> Lookup a given Bank Identification Number (BIN) and display its information
iban [options] <iban> Validate a given International Bank Account Number (IBAN)
email [options] <email> Validate a given email address
phone [options] <phone> <country> Validate a given phone number
profanity [options] <text> Check a given text for profanity
help [command] display help for command

Configuration

After installing the CLI, you need to set your API token in order to use it's funcitonalities. This step can be done just by running the login command as follows:

ggip login your-api-key

Note You can obtain an API token just by creating an account at Greip.io.

Usage

1. Available commands

To get a list of all available commands of the CLI just use the help command as follows:

ggip help

This will provide you a list of commands and options.

2. Available options & examples

To list the availabe options and examples for a specific command, just try the help help command with the command want as follows:

ggip help lookup

This will provide you a list of available optioins with some usage examples for the lookup command.

Credits

cli's People

Contributors

gre-dev avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.