Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/remy/now-no-alias

CLI tool for now to list idle deploys (with no active aliases)
https://github.com/remy/now-no-alias

Last synced: about 2 months ago
JSON representation

CLI tool for now to list idle deploys (with no active aliases)

Awesome Lists containing this project

README

        

# now-no-alias

A utility to dump out in JSON all the zeit now instances that aren't linked to aliases.

Suggested usage with [json](https://www.npmjs.com/package/json) CLI tool:

```bash
$ now rm $(now-no-alias | json -a uid)
sD6BY8cWbUWUrznpMHMDG5Ag https://loader-rnlmdatsjn.now.sh 5m ago
...etc
> Are you sure? [y/N] y
> Success! [1s]
```

You may optionally provide a `token` to interact with other `now` accounts:

```bash
$ now-no-alias --token=bZ93foNN1hRQDZ26qPRWAqDX
```