* Automatically decide deployment type
* Should be a devDep
* Not throwing anymore if both Dockerfile and package.json exist
* Ask to choose type again
* Revert "Not throwing anymore if both Dockerfile and package.json exist"
This reverts commit 2d7136f2dc870406e60289e33de3b2beaea3a917.
* Prettified
This version simply prints out the logged in username,
for consistency.
It no longer prints out the current team name.
Squashed commit of the following:
commit 1d4ef6af9507a1180fd9e84b7cc64c7fe3e815fa
Author: Nathan Rajlich <nathan@tootallnate.net>
Date: Fri May 26 14:40:00 2017 -0700
add "whoami" to valid command names
commit 6ea37e49eb1ea2d9b5b12befe26a6a15972e1f6c
Author: Nathan Rajlich <nathan@tootallnate.net>
Date: Fri May 26 14:37:56 2017 -0700
don't log current team name in `now whoami`
Instead, consistently return the logged in username.
Not logged in:
```
$ now whoami
> Not currently logged in! Please run `now --login`.
```
Logged in, stdout is a TTY:
```
$ now whoami
> tootallnate
$ now switch zeit
$ now whoami
> zeit
```
Stdout is NOT a TTY:
```
$ echo "Logged in to Now as $(now whoami)"
Logged in to Now as tootallnate
```
Closes#585.
* `link` directory to run `npm link` inside
* since `lib` is default source dir name for js (`src` is mostly c++)
* fix linting
* Revert "since `lib` is default source dir name for js (`src` is mostly c++)"
This reverts commit 799edd4e717e66f763593636e7fbbe4b5df239a6.
* Added script for linking
* Add `teams ls` command
* Fix Prettier
* Add `teams list` command alias
* Add table output primitive
* Use table output primitive to list team
* Fix name/email for user
* Change indicator for current team
* move `prompt-options.js` to utils/input dir
* make `promptBool()` return false upon Ctrl+C
Also make the `info('Aborted')` output more consistent
across the CLI.
* Revert "handle user abort in `now domains buy` (#554)"
This reverts commit 34151c8193.
* Improve now alias and scale ux
* Print scaling rules even when there is nothing to change, and fix scale-info
* Allow scale to take alias as parameter
* Remove debug print
* Fix list prefix color
* Fix output styling