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
3979d8472a
Fixed even more XO issues
8 years ago
Leo Lamprecht
076817309c
Group imports by kind
8 years ago
Leo Lamprecht
fb28ec4ba5
Empty line after binary indicator
8 years ago
Leo Lamprecht
3c7898b760
New line for each flag
8 years ago
Leo Lamprecht
f677786035
Added static sub-command to usage information
8 years ago
Leo Lamprecht
eba64c615e
It's now called 'static', not 'serve'
8 years ago
Leo Lamprecht
cf39f7f032
Added core of static sub-command
8 years ago
Leo Lamprecht
79389c1a60
Put each command into its own line
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
c2fa7e8565
document `secrets` and `certs` commands ( #168 )
* document `secrets` command in --help
* document `certs` command in --help
8 years ago
Nathan Rajlich
3f78172428
only consider 1 result for the "single" verbage ( #170 )
English is hard… 0 uses the "multiple" verbage. We want:
0 domains
1 domain
2 domains
3 domains
…etc.
8 years ago
Nathan Rajlich
139a44918e
alias: better "invalid arguments" error messages ( #169 )
8 years ago
Nathan Rajlich
aa66f07cd5
deploy: document --npm and --docker
8 years ago
Jarmo Isotalo
65a7ee7158
Allow env value to contain '='
8 years ago
Olli Vanhoja
40000d7f3c
now-certs: Fix typo on formatExpirationDate()
8 years ago
Olli Vanhoja
b98bc74f0b
Don't print the list if there is no entries
8 years ago
Olli Vanhoja
87c4b1fc16
Add header to alias and secrets command
8 years ago
Olli Vanhoja
b6f135419d
Proper strlen function for strings containing ANSI escape codes
8 years ago
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
8 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