Skip to content

Commit db727d6

Browse files
committed
test message
1 parent d08f04c commit db727d6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ You can customize the table output using the `--tableOptions` parameter. This ac
5050
Example with table options:
5151

5252
```bash
53-
# Color the entire table red
54-
ctp -i '[{"id":1,"name":"John"},{"id":2,"name":"Jane"}]' --tableOptions '{"style": {"headerColor": "red", "color": "red"}}'
55-
5653
# Use custom column styles
5754
ctp -i '[{"id":1,"status":"active"},{"id":2,"status":"inactive"}]' --tableOptions '{"columns": [{"name": "status", "color": "green"}]}'
5855

src/service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ const printTableFromInp = (inp: string, tableOptions?: string): void | string =>
3434
if (!parsed) return;
3535

3636
const { data, options } = parsed;
37+
38+
console.log(options);
3739
if (options) {
3840
printTable(data, options);
3941
} else {

0 commit comments

Comments
 (0)