@jarrku/now-purge
v2.0.1
Published
Utility to remove deployments without alias
Downloads
6
Readme
@jarrku/now-purge
Remove now deployments without an alias
Credit to original idea for this package: now-purge
This repo is updated to use the API endpoints in favour of the deprecated now-client
package
CLI
One time run (using NPM 5 / npx)
npx @jarrku/now-purge --token YOUR_NOW_TOKEN --team OPTION_TEAM_ID
Installation
npm install -g @jarrku/now-purge
Usage
@jarrku/now-purge [options]
Options:
--token now auth token [Required]
--team, -m team id [Optional]
From your CI
You can remove your oldest deployments without an alias
npx @jarrku/now-purge --token YOUR_NOW_TOKEN --team OPTION_TEAM_ID