Olli Vanhoja
c75b9adcc0
Formatting for cert expiration time
8 years ago
Olli Vanhoja
4338e776e3
now-certs: Show expiration date for certs
8 years ago
Olli Vanhoja
0355c57e6d
domains: chalk.dim() for the headers
8 years ago
Olli Vanhoja
d743f483cd
Show domain entry type in `now domain ls`
8 years ago
Olli Vanhoja
4db4353d5d
now certs management
* Move cert handling to index.js
* Add 'now certs' commands for certificate management
8 years ago
Olli Vanhoja
db10a26c84
Fix table alignments in listings
8 years ago
Matheus Fernandes
4debd4b3e7
Show lowercased secret name after `now secret add` ( #57 )
8 years ago
Vitaly Domnikov
cc157180a8
Fix `now alias ls` inconsistency
Fix `now alias ls` inconsistency.
8 years ago
Kevin Donahue
deea02a1bf
Fix `now ls` output in case of 0 deployments
8 years ago
Nick Payne
9c9682354c
Import login method to now-secrets
8 years ago
Guillermo Rauch
dc5a796677
improve error message for not finding a manifest file
8 years ago
Nathan Rajlich
eec0e8ebd9
now rm: remove by app name ( #150 )
* remove: implement remove by app name
Now you can do `now rm app-name` and remove all
deployments under that app name.
Syntax parallels `now ls app-name`.
* remove: only confirm deletion once
Also now supports arbitrary number of IDs/names to remove,
so that i.e. `xargs` could be used:
```
$ echo TYA4oUPKMloPXpWe3EDw5Dhs LtbfMjHFm92GnoSOVFHSps1E | xargs now rm
```
8 years ago
Igor Klopov
9414d8b078
Switch from `enclose` to `pkg` ( #127 )
* removed `enclose`, added `pkg`
* pinned `pkg`version
* bump pkg to beta.4
8 years ago
Guillermo Rauch
fc8e4f8e20
make indendation consistent
8 years ago
Guillermo Rauch
c4248cebaa
add totals to listings and fix plurals
8 years ago
Guillermo Rauch
69e23163f4
fix help
8 years ago
Naoyuki Kanezawa
85fc7fc336
fix the initial value of the env option ( #131 )
8 years ago
Guillermo Rauch
d450d45842
merge with master
8 years ago
Guillermo Rauch
bf685a0dde
now-deploy: do not attempt to unescape non-string env values
8 years ago
Guillermo Rauch
a3fe6eda84
Add -e ( #126 )
* implement `-e`
* index: pass along `env` to `/create`
* index: add `listSecrets` method
* secrets: fix api calls
* support for escaping
8 years ago
Guillermo Rauch
cedf4a40bf
support for escaping
8 years ago
Guillermo Rauch
72d2aba201
implement `-e`
8 years ago
Nathan Rajlich
da8310ef33
Use "cross-spawn" instead of "cross-spawn-async" ( #125 )
Fixes the warning upon `npm install`.
"cross-spawn-async" is now deprecated: https://git.io/v6hdS
8 years ago
Guillermo Rauch
c93d93c9a6
hide secrets for now
8 years ago
Olli Vanhoja
c6f42c36e3
Add --token and --config options
--token=MYTOKEN
--config=/path/to/.now.json
8 years ago
Olli Vanhoja
a0127daef1
Warn about removing bound aliases when removing a domain
9 years ago
Guillermo Rauch
2c28348ed9
help: add `rename`
9 years ago
Guillermo Rauch
cf0b8d260a
fix help
9 years ago
Guillermo Rauch
8354ee8cea
fix rename
9 years ago
Guillermo Rauch
187686d981
fixes for rm
9 years ago
Guillermo Rauch
3025a091a5
fix try/catch in async with older babel-runtime :\
9 years ago
Guillermo Rauch
ba79563416
now-deploy: remove build logger erorr handler
9 years ago
Guillermo Rauch
0523226252
now-deploy: fix `if`
9 years ago
Guillermo Rauch
092d994ec5
initial sketch
9 years ago
Olli Vanhoja
18733b30ee
Fix rm warnings ( #107 )
9 years ago
Nathan Rajlich
89f50abf4f
add "public" logic to the Now lib client
9 years ago
Nathan Rajlich
98c7b3f84a
deploy: add `--public` option
To create a deployment as "public" (`/_src` route works)
when the user has a "premium" plan.
9 years ago
Guillermo Rauch
39a4435e4b
wow
9 years ago
Guillermo Rauch
a23f147b48
Add support for `Dockerfile` ( #98 )
* add support for `Dockerfile`
* add dockerfile `EXPOSE` validation
9 years ago
Guillermo Rauch
eafc25eefa
shorten path for better UX
9 years ago
Tony Kovanen
264a18732b
Rename to `forwardNpm` and check .now.json for it ( #90 )
9 years ago
Guillermo Rauch
396bd8713f
activate quiet mode when piping
9 years ago
Tony Kovanen
7ab8e0d344
Add cmd line flag to forward NPM auth token
9 years ago
Igor Klopov
67b55610b7
make a binary of `now` using enclosejs ( #81 )
* make a binary of `now` using enclosejs
* pin enclosejs version
9 years ago
Guillermo Rauch
de932b8643
now-deploy: stay quiet on non-tty
9 years ago
Guillermo Rauch
1be3a4685b
fix remove
9 years ago
Guillermo Rauch
eb04657b2f
Add zeit world (wip) ( #67 )
* alias: clean up the alias (trailing and leading dots)
* alias: improve domain validation and implement zeit.world
* is-zeit-world: detect valid zeit.world nameservers
* package: add domain-regex dep
* now-alias: fix edge case with older aliases or removed deployments
* alias: move listing aliases and retrying to `index`
* index: generalize retrying and alias listing
* alias: remove `retry` dep
* now-remove: print out alias warning
* typo
* now-alias: prevent double lookup
* now: add domain / domains command
* now-deploy: document `domain`
* agent: allow for tls-less, agent-less requests while testing
* is-zeit-world: fix nameserver typo
* dns: as-promised
* now-alias: fix `rm` table
* now-alias: no longer admit argument after `alias ls`
@rase- please verify this, but I think it was overkill?
* admit "aliases" as an alternative to alias
* make domain name resolution, creation and verification reusable
* index: add nameserver discover, domain setup functions (reused between alias and domains)
* now-domains: add command
* domains: commands
* package: bump eslint
* now-alias: simplify sort
* now-domains: sort list
* now-domains: improve deletion and output of empty elements
* errors: improve output
* domains: add more debug output
* domains: extra logging
* errors: improve logging
* now-remove: improve `now rm` error handling
* index: more reasonable retrying
* alias: support empty dns configurations
* dns: remove ns fn
* alias: improve post-dns-editing verification
* index: remove unneeded dns lookup
* index: implement new `getNameservers`
* index: customizable retries
* alias: improve error
* improve error handling and cert retrying
* customizable retries
* alias: better error handling
* alias: display both error messages
* better error handling
* improve error handling for certificate verification errors
* alias: set up a `*` CNAME to simplify further aliases
* alias: fewer retries for certs, more spaced out (prevent rate limiting issues)
* alias: ultimate error handling
* add whois fallback
* adjust timer labels for whois fallback
* index: whois fallback also upon 500 errors
* alias: fix error message
* fix duplicate aliases declaration
9 years ago
Guillermo Rauch
0892e032db
now-remove: print out alias warning
9 years ago
Guillermo Rauch
6dcd7b68dd
now-alias: fix edge case with older aliases or removed deployments
9 years ago
Guillermo Rauch
5a17da1e04
now-deploy: add "initializing" message
9 years ago