Skip to content

Commit

Permalink
chore: cmd update
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman-zishan committed Dec 27, 2023
1 parent e65a048 commit 70f7c50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"Code Snippet Manager"
],
"author": "Aman Zishan <aman-zishan> (https://github.com/Aman-zishan)",
"repository": "https://github.com/Aman-zishan/CSM.git",
"homepage": "https://github.com/Aman-zishan/CSM.git#readme",
"license": "MIT",
"dependencies": {
"chalk": "^4.1.2",
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ program
'A CLI Code Snippet Manager tool for managing code snippets directly from your terminal currently supports JavaScript, TypeScript and Python',
),
)
.option('-s, --save <snippet-title>.ts | py | js', 'Save a code snippet')
.option('-l, --list', 'List all code snippets')
.option('-s, --save <filepath>', 'Save a code snippet')
.option('-l, --list', 'Open TUI')
.parse(process.argv);

const options = program.opts();
Expand Down

0 comments on commit 70f7c50

Please sign in to comment.