Add basic CLI interface

This commit is contained in:
Ethan Lane 2023-10-23 13:45:56 +01:00
parent b06c5ed089
commit 9273df6555
3 changed files with 17 additions and 8 deletions

9
src/cli.ts Normal file
View 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();