flip-table

1.1.1 • Public • Published

Flip-Table Build

Flip some tables.

flip

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

Readme

Keywords

none

Package Sidebar

Install

npm i flip-table

Weekly Downloads

2

Version

1.1.1

License

WTFPL

Unpacked Size

9.47 kB

Total Files

16

Last publish

Collaborators

  • aghost7