1.2.3 • Published 7 years ago

kai2 v1.2.3

Weekly downloads
36
License
MIT
Repository
github
Last release
7 years ago
 ___  __    ________  ___    _______     
|\  \|\  \ |\   __  \|\  \  /  ___  \    
\ \  \/  /|\ \  \|\  \ \  \/__/|_/  /|   
 \ \   ___  \ \   __  \ \  \__|//  / /   
  \ \  \\ \  \ \  \ \  \ \  \  /  /_/__  
   \ \__\\ \__\ \__\ \__\ \__\|\________\
    \|__| \|__|\|__|\|__|\|__| \|_______|

NPM

Designed for programmers. Kai makes your Bash smarter and save your time.

Features

  1. Switch working folder in an elegant way.
  2. Save short memos in terminal.
  3. Save command alias quickly.
  4. Check stackoverflow in terminal.

Installation

Install the tool

npm install kai2

Bind it with your Bash client

source kai2install

Usage

Path remembering

$ kai remember . as apache config
$ kai go to apache config 

$ kai forget apache config

Command memo

$ kai remember command 'service start nginx' as nginx
$ kai run nginx
$ kai r nginx

Variable memo

$ kai remember 192.168.21.136 as android ip
$ kai show android ip

Searching

Open a new browser window

$ kai google how to make a cake

Stackoverflow in terminal, powered by google search

$ kai stack get pid of process name os x 

Entertaining

$ kai tell me a joke

Verbose mode (for debugging)

$ kai tell me a joke -v

Using API

$ kai set key google_api_key = [ your google api key ]
$ kai unset key google_api_key = [ your google api key ]

Compiling

This library is written in typescript. So you need to install a bundle of packages to start.

Installing dependencies

$ npm i

Building typescripts

$ gulp

Runtime compiling

$ gulp watch
1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago