https://github.com/mskian/deno-random-words-cli
Random Words CLI Build using Deno - Get Random Words with Definition and Pronunciation
https://github.com/mskian/deno-random-words-cli
cli command-line command-line-tool deno deno-cli denocli denoland random-generation random-words randomwordgenerator randomwords typescript
Last synced: 9 months ago
JSON representation
Random Words CLI Build using Deno - Get Random Words with Definition and Pronunciation
- Host: GitHub
- URL: https://github.com/mskian/deno-random-words-cli
- Owner: mskian
- License: mit
- Created: 2022-08-02T09:20:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-26T12:20:52.000Z (about 3 years ago)
- Last Synced: 2025-02-08T00:13:08.689Z (9 months ago)
- Topics: cli, command-line, command-line-tool, deno, deno-cli, denocli, denoland, random-generation, random-words, randomwordgenerator, randomwords, typescript
- Language: TypeScript
- Homepage: https://deno.land/x/randomwords
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Random Words CLI
[](https://github.com/mskian/deno-random-words-cli/actions/workflows/test.yml)

Random Words CLI Build using Deno
## Prerequisites
- Deno on your System
## Features
- Get Random Words with Definition and Pronunciation
- Get Pronunciation for a Word
## Usage
- Clone or Download the Repo
```sh
git clone https://github.com/mskian/deno-random-words-cli.git
cd deno-random-words-cli
```
- Run the CLI without installation
```sh
# Get Random Words
deno run --allow-net --allow-read main.ts -r
(or)
deno task random
#Get Pronunciation for a Word
deno run --allow-net --allow-read main.ts -p "Hello World"
(or)
deno task pronunciation "Hello World"
# Help Section
deno run --allow-net --allow-read main.ts -h
(or)
deno task help
```
- install via Deno Modules -
- Learn about deno Script installer -
```sh
deno install --allow-net --name randomwords https://deno.land/x/randomwords/main.ts
```
- install CLI via Cloned repo or download (For Development)
```sh
deno install --allow-net --name randomwords main.ts
```
```sh
# Get Random Words
randomwords -r
#Get Pronunciation for a Word
randomwords -p "Hello World"
# Help Section
randomwords -h
```
## uninstall
```sh
deno uninstall randomwords
```
- Use directly without download or install Locally by using `deno.land` or `nest.land`
```sh
deno run --allow-net https://deno.land/x/randomwords/main.ts -r
deno run --allow-net https://deno.land/x/randomwords/main.ts -p "Hello World"
deno run --allow-net https://deno.land/x/randomwords/main.ts -h
```
```sh
deno run --allow-net https://x.nest.land/deno-random-words-cli@0.0.3/main.ts -r
deno run --allow-net https://x.nest.land/deno-random-words-cli@0.0.3/main.ts -p "Hello World"
deno run --allow-net https://x.nest.land/deno-random-words-cli@0.0.3/main.ts -h
```
## Credits
- Build CLI Tool with Deno -
- Random Words API -
## LICENSE
MIT