Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 6 days ago
JSON representation
CLI tool for now to list idle deploys (with no active aliases)
- Host: GitHub
- URL: https://github.com/remy/now-no-alias
- Owner: remy
- Created: 2016-10-01T08:36:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-01T08:17:21.000Z (over 7 years ago)
- Last Synced: 2024-10-13T14:11:18.464Z (21 days ago)
- Language: JavaScript
- Size: 30.3 KB
- Stars: 17
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```