Olli Vanhoja
311abf3d2f
now-rm: Don't show URL for incomplete deployments ( #221 )
Fixes this:
> The following deployment will be removed permanently:
XXXXXXXXXXXXXXXXXXXXXXXX https://null 21d ago
8 years ago
Leo Lamprecht
513ecfb7de
Added extensions to binaries
8 years ago
Leo Lamprecht
158bf64ea2
No need to set language type anymore
8 years ago
Leo Lamprecht
9f073ad25c
Use async-to-gen for all Node versions
8 years ago
Jarmo Isotalo
059918e7ee
Remove babel as dependecy ( #209 )
* Remove babel as a dependency
* Migrate from import foo from foo to const foo = require('foo')
* Update module.exports
* Update commander syntax
* Update pkg config and fix stuff
* Make XO happy
* Fix path in tests
* Fix typo
* Fix cleanup
* Debug pkg
* Fix pkg
* Fix process.argv for subcommands
* Run with --harmony-async-await when supported thx igor for help with this trick :D
* Use bash
* Set engines.node in package.json
8 years ago
Luke Edwards
f2a4ee0adc
XO Happiness ( #197 )
* Comply to rule 'no-useless-escape'
* Comply to rule 'no-case-declarations'
* Comply to rule 'ava/no-ignored-test-files'
8 years ago
Leo Lamprecht
26afd83c1a
Ability to skip confirmation when deleting deployments
8 years ago
Leo Lamprecht
d8da820fe7
y OR N
8 years ago
Leo Lamprecht
e32bd818e4
Make binaries comply to linting rules
8 years ago
Leo Lamprecht
c67c051699
The binaries are made of JavaScript
8 years ago
Leo Lamprecht
076817309c
Group imports by kind
8 years ago
Leo Lamprecht
66711afaeb
Capitalize command descriptions
8 years ago
Nathan Rajlich
76e3afe88e
remove: delete deployment by URL ( #172 )
So this now works:
```
now rm https://ffitest-hcznbannyc.now.sh
```
Fixes #87 .
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
Olli Vanhoja
c6f42c36e3
Add --token and --config options
--token=MYTOKEN
--config=/path/to/.now.json
8 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
Tony Kovanen
7f4e498b57
Underline urls in `alias rm` and show target
9 years ago
Guillermo Rauch
77d10deddb
add confirmation for removal
9 years ago
Guillermo Rauch
c65a8ad7ce
properly specify minimist options
9 years ago
Guillermo Rauch
83b948f8d6
prevent minimist from parsing an argument as an option value
otherwise:
`now -d /path`
would fail
protip cc @rase- @nkzawa
9 years ago
Guillermo Rauch
953b32a939
improve stdout
9 years ago
Guillermo Rauch
c5e966c1c1
now-remove: make consistent with `now-alias`
9 years ago
Guillermo Rauch
439866a2d5
now-remove: consistent alias position
9 years ago
Guillermo Rauch
8cedc55394
now-remove: exit process after saying `n` to remove
9 years ago
Guillermo Rauch
b44140e262
fix zeit endpoints
9 years ago
Guillermo Rauch
81214d9fcf
now-remove: improve success message output
9 years ago
Tony Kovanen
95a0263295
Parity of output with `now ls`
9 years ago
Tony Kovanen
f3591dedf6
Remove double space
9 years ago
Tony Kovanen
e8ff848e3b
Add `https://` to displayed url for cmd + click
9 years ago
Tony Kovanen
231ad68934
Show url instead of deployment id in confirmation
9 years ago
Guillermo Rauch
ceb7812ec8
now-remove: improve ux a bit, make colors more consistent
9 years ago
Guillermo Rauch
d498b1056e
now-remove: show help upon missing id
9 years ago
Tony Kovanen
63ed5b31cc
Add `--hard` option to `now-rm`
9 years ago
Tony Kovanen
d2d81ff188
Show error properly on missing `did`
9 years ago
Tony Kovanen
18e516bfab
Add help
9 years ago
Tony Kovanen
9ade9b0921
Add sketch of `now-rm`
9 years ago