Skip to main content

My common cli tool.

Project description

Ik-cli

Build Status

Introduction

This application provides some common command line tools for me.

Install

You can use pip to install this tool.

pip install ik-cli

Usage

You can use main command to show all subcommands.

ik_cli --help
# the echo are:
Usage: ik_cli [OPTIONS] COMMAND [ARGS]...

Options:
  -v, --verbose  Enable verbose mode.
  --help         Show this message and exit.

Commands:
  ip  get ip info

Now you can use network subcommand to get point ip info from ip.sb.

ik_cli ip 8.8.8.8

# the echo is:
IP: 8.8.8.8
ASN: 15169
CONTINENT_CODE: NA
COUNTRY: United States
COUNTRY_CODE: US
LATITUDE: 37.751
LONGITUDE: -97.822
ORGANIZATION: Google LLC
TIMEZONE: America/Chicago

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ik-cli, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size ik_cli-0.1.2-py2.py3-none-any.whl (5.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size ik-cli-0.1.2.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page