Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/suretnohq/deno-arguments

Simple CLI arguments parser for Deno — Learn Deno
https://github.com/suretnohq/deno-arguments

deno deno-arguments deno-arguments-parser learn-deno

Last synced: 6 days ago
JSON representation

Simple CLI arguments parser for Deno — Learn Deno

Awesome Lists containing this project

README

        

# Arguments

Simple CLI arguments parser for Deno — Learn Deno

### Usage

Example code, create file **test.ts** and fill with below code.

```ts
import { args } from "deno"
import Arguments from "https://github.com/muhibbudins/deno-arguments/index.ts";

console.log(Arguments(args))
```

And then run :
```
$ deno test.ts variable --env=development -b boop --test=true --beep boop
$ > { variable: true, env: "development", b: "boop", test: "true", beep: "boop" }
```

### Related

- [Read File](https://github.com/muhibbudins/deno-readfile)
- [Watcher File](https://github.com/muhibbudins/deno-watcher)
- [Yaml Parser](https://github.com/muhibbudins/deno-yaml)
- [All Topic](https://github.com/topics/learn-deno)

### License

This project under MIT License