Skip to content

Commit

Permalink
Make truuu cli executable (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronccasanova committed Jun 12, 2022
1 parent feafec3 commit 7a3e998
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/weak-candles-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'truuu': patch
---

Added shebang to truuu cli
5 changes: 4 additions & 1 deletion packages/truuu/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TRUUU
# truuu

Generates a truth table from a JavaScript condition.

Expand All @@ -12,6 +12,9 @@ npm i -g truuu

```sh
$ truuu 'isFoo && !isBar'
```

```
╔══════════════════════════════════════════════╗
║ _____ ____ _ _ _ _ _ _ ║
║ |_ _| _ \| | | | | | | | | | ║
Expand Down
2 changes: 2 additions & 0 deletions packages/truuu/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env node

/* eslint-disable no-console */
import { table } from 'table'
import chalk from 'chalk'
Expand Down

0 comments on commit 7a3e998

Please sign in to comment.