Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 days 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 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-26T12:20:52.000Z (over 2 years ago)
- Last Synced: 2024-12-14T23:41:42.723Z (19 days 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
[![Test CLI](https://github.com/mskian/deno-random-words-cli/actions/workflows/test.yml/badge.svg)](https://github.com/mskian/deno-random-words-cli/actions/workflows/test.yml)
![Deno](https://img.shields.io/badge/Deno-464647?style=for-the-badge&logo=deno&logoColor=white)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/[email protected]/main.ts -r
deno run --allow-net https://x.nest.land/[email protected]/main.ts -p "Hello World"
deno run --allow-net https://x.nest.land/[email protected]/main.ts -h
```## Credits
- Build CLI Tool with Deno -
- Random Words API -## LICENSE
MIT