fully deprecate install command
This commit is contained in:
parent
a126332e29
commit
30990fc63e
3 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
# 2.1.0
|
||||
* Deprecate `angel install`.
|
||||
|
||||
# 2.0.1
|
||||
* `deploy systemd` now has an `--install` option, where you can immediately
|
||||
spawn the service.
|
||||
|
|
|
@ -47,6 +47,12 @@ class InstallCommand extends Command {
|
|||
|
||||
@override
|
||||
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 (await installRepo.exists()) await installRepo.delete(recursive: true);
|
||||
} else if (argResults['list'] as bool) {
|
||||
|
|
|
@ -2,7 +2,7 @@ author: Tobe O <thosakwe@gmail.com>
|
|||
description: Command-line tools for the Angel framework.
|
||||
homepage: https://github.com/angel-dart/angel_cli
|
||||
name: angel_cli
|
||||
version: 2.0.0
|
||||
version: 2.1.0
|
||||
dependencies:
|
||||
analyzer: ">=0.32.0"
|
||||
args: ^1.0.0
|
||||
|
|
Loading…
Reference in a new issue