Skip to content

Commit

Permalink
feat: CLI help in default
Browse files Browse the repository at this point in the history
Co-authored-by: PK <[email protected]>
  • Loading branch information
oplik0 and prettykool authored Aug 10, 2022
1 parent 47ce498 commit 78e213a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ if (import.meta.main) {
} else {
console.log(genSalt());
}
break;
default:
console.log(`usage: hash <password>, verify <password>, <hash>`)
}
}

0 comments on commit 78e213a

Please sign in to comment.