Add basic CLI interface
This commit is contained in:
parent
b06c5ed089
commit
9273df6555
3 changed files with 17 additions and 8 deletions
9
src/cli.ts
Normal file
9
src/cli.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { Command } from "commander";
|
||||
const program = new Command();
|
||||
|
||||
program
|
||||
.name('random-bunny')
|
||||
.description('Get a random image url from a subreddit of your choosing')
|
||||
.version('2.2');
|
||||
|
||||
program.parse();
|
Loading…
Add table
Add a link
Reference in a new issue