https://github.com/aghost-7/flip-table
Flip the tables.
https://github.com/aghost-7/flip-table
command-line humour nodejs sql
Last synced: about 1 year ago
JSON representation
Flip the tables.
- Host: GitHub
- URL: https://github.com/aghost-7/flip-table
- Owner: AGhost-7
- Created: 2016-02-12T15:52:55.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-12-25T00:33:41.000Z (over 5 years ago)
- Last Synced: 2025-02-03T08:36:24.945Z (about 1 year ago)
- Topics: command-line, humour, nodejs, sql
- Language: JavaScript
- Homepage:
- Size: 93.8 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Flip-Table 
Flip some tables.

## Installation
```
npm install --global flip-table
```
Or the shorthand syntax:
```
npm i -g flip-table
```
## Usage
Enter your message and send to clipboard:
```
> flip-table Hello world
```
Pipe message to `flip-table` and send to clipboard.
```
> echo Hello world | flip-table
```
Enter your message and send to stdout.
```
> flip-table -o Hello world
(╯°□°)╯︵ plɹoʍ ollǝH
```
Pipe your message and sent to stdout.
```
> echo Hello world | flip-table -o
(╯°□°)╯︵ plɹoʍ ollǝH
```
Unflip the message:
```
> flip-table -o okthkxbye | flip-table -ou
okthkxbye ノ( º _ ºノ)
```
Flip sql table:
```
> flip-table --sql postgres://postgres@localhost:5432/template1 foobar
```
Flip many sql tables:
```
> psql -U postgres -q -t -c "select table_name from information_schema.tables where table_schema not in ('pg_catalog', 'information_schema')"| \
xargs flip-table --sql postgres://localhost
```