Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
chore: remove cat command
Browse files Browse the repository at this point in the history
BREAKING CHANGE: remove `cat` command
  • Loading branch information
justinlettau committed Sep 27, 2018
1 parent 3f49988 commit 903f411
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 48 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ Arguments:
|----------|-----------------------------------------|-----------------------------------------|
| `conn` | Optional name of the connection to use. | First available connection from config. |

### `ssc cat`
Concatenate all SQL files into a single file. Outputs to `./_sql-database/cat.sql`.

# Configuration
Configuration options are stored in a `ssc.json` file. The following properties are supported:

Expand Down
36 changes: 0 additions & 36 deletions src/commands/cat.ts

This file was deleted.

9 changes: 0 additions & 9 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import * as program from 'commander';
import * as updateNotifier from 'update-notifier';

import pkg = require('../package.json');
import Cat from './commands/cat';
import Conns from './commands/conns';
import Init from './commands/init';
import Pull from './commands/pull';
Expand Down Expand Up @@ -47,14 +46,6 @@ program
action.invoke(name);
});

program
.command('cat')
.description('Concatenate all SQL files into a single file.')
.action(() => {
const action: Cat = new Cat();
action.invoke();
});

program
.version((pkg as any).version)
.parse(process.argv);

0 comments on commit 903f411

Please sign in to comment.