fully deprecate install command

This commit is contained in:
Tobe O 2018-12-31 11:09:46 -05:00
parent a126332e29
commit 30990fc63e
3 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,6 @@
# 2.1.0
* Deprecate `angel install`.
# 2.0.1 # 2.0.1
* `deploy systemd` now has an `--install` option, where you can immediately * `deploy systemd` now has an `--install` option, where you can immediately
spawn the service. spawn the service.

View file

@ -47,6 +47,12 @@ class InstallCommand extends Command {
@override @override
run() async { run() async {
print(yellow.wrap(
'WARNING: The `install` command is no longer considered necessary, and has been deprecated.\n'
'Expect it to be removed in an upcoming release.\n\n'
'See here: https://github.com/angel-dart/install.git\n\n'
'To stop seeing this, downgrade to `package:angel_cli@<=2.0.0`.'));
if (argResults['wipe'] as bool) { if (argResults['wipe'] as bool) {
if (await installRepo.exists()) await installRepo.delete(recursive: true); if (await installRepo.exists()) await installRepo.delete(recursive: true);
} else if (argResults['list'] as bool) { } else if (argResults['list'] as bool) {

View file

@ -2,7 +2,7 @@ author: Tobe O <thosakwe@gmail.com>
description: Command-line tools for the Angel framework. description: Command-line tools for the Angel framework.
homepage: https://github.com/angel-dart/angel_cli homepage: https://github.com/angel-dart/angel_cli
name: angel_cli name: angel_cli
version: 2.0.0 version: 2.1.0
dependencies: dependencies:
analyzer: ">=0.32.0" analyzer: ">=0.32.0"
args: ^1.0.0 args: ^1.0.0