Skip to content

Commit

Permalink
feat: first version
Browse files Browse the repository at this point in the history
  • Loading branch information
darlanalves committed Mar 19, 2023
1 parent 5e8a1fc commit 282c676
Show file tree
Hide file tree
Showing 5 changed files with 7,731 additions and 2 deletions.
33 changes: 32 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,32 @@
# ts-template
# Local DNS resolution

## Usage

Install and add to [Cloudy](cloud-cli/cli):

```sh
npm i @cloud-cli/dns
```

```js
import dns from '@cloud-cli/dns';

export default { dns }
```

## Available Commands

### Add

Target is optional. Defaults to `127.0.0.1`

```sh
cy dns.add --domain foo --target 1.2.3.4
cy dns.add --domain bar{ domain: test, target: '1.2.3.4' },
```

## Remove

```sh
cy dns.remove --domain foo
```
Loading

0 comments on commit 282c676

Please sign in to comment.