Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darkpos/now-clean
https://github.com/darkpos/now-clean
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/darkpos/now-clean
- Owner: darkpos
- Created: 2017-03-31T17:00:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-07T16:59:32.000Z (almost 7 years ago)
- Last Synced: 2024-08-19T17:07:34.749Z (4 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 7
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# now-clean
Helps you automate [now](https://zeit.co/now) deployments.
Removes/deletes/cleans/purges stale now deployments; a stale deployment is all deployments except the last one.
## Install
```sh
npm install now-clean -g
```## List all deployments for all apps and mark those to be removed:
```sh
now-clean
```## List all deployments for a specific app and mark those to be removed:
```sh
now-clean -n my-dark-app
```## Remove all stale deployments for all apps:
```sh
now-clean -r
```## Arguments
Run `now-clean` on the command-line with -h and you will see:
```
-t --token
(will use your local one like the now cli, if available)-n --name
(my-dark-app)-r --remove
(will remove the marked deployments)
```