waii-cli
TypeScript icon, indicating that this package has built-in type declarations

1.13.2 • Public • Published

Waii-CLI Documentation

Waii-CLI is a powerful command-line interface (CLI) tool that generates SQL from plain text commands.

Setup / Install Instructions

Prerequisites:

  • Node.js (version >= 16)

Installation:

Make sure you have Node.js (version >= 16) installed.

  • You can check your Node.js version by running node -v in the terminal.
  • If you don't have Node.js installed, you can download it from Node.js official website.

Install Waii-CLI globally using npm:

npm install -g waii-cli

Set your API key.

Login to https://tweakit.waii.ai/, you need to get username/password to access it first. Go to Settings -> Copy API Key to get your API key. Create ~/.waii/conf.yaml on your local laptop and add your api key.

url: https://tweakit.waii.ai/api/
apiKey: <your-api-key>

Test it:

Run

waii database describe

You should be able to see the content from Waii playground database:

┌──────────┐
│ database │
├──────────┤
│ WAII     │
└──────────┘
┌─────────────────────────┬────────┐
│ schema                  │ tables │
├─────────────────────────┼────────┤
│ WAII.INFORMATION_SCHEMA │ 31     │
│ WAII.CINE_TELE_DATA     │ 3      │
└─────────────────────────┴────────┘

Readme

Keywords

Package Sidebar

Install

npm i waii-cli

Homepage

www.waii.ai

Weekly Downloads

98

Version

1.13.2

License

Apache-2.0

Unpacked Size

1.37 MB

Total Files

79

Last publish

Collaborators

  • bhupendra.nitt
  • wangda.tan
  • hagleitn