Package Exports
- now-alias
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (now-alias) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
now-alias
Helps you automate now deployments.
Given an app name and an alias, updates a recent deployment for that app to point to the alias.
It's like now-realias except you can specify the token and app name on the command-line.
Install
npm install now-alias -gSwitch to the most recent deployment:
now-alias --name=my-sweet-app --alias=www.mysweetapp.comOH NO QUICK ROLL BACK:
now-alias --name=my-sweet-app --alias=www.mysweetapp.com --deployment=1Arguments
Run now-alias on the command-line without the necessary arguments and you will see:
-t --token
(will use your local one like the now cli, if available)
-d --deployment Defaults to 0
(which deployment to alias - 0 is the latest, 1 is the second latest, etc.)
-n --name [required]
(my-sweet-app)
-a --alias [required]
(mysweetapp.com)