diff --git a/CHANGELOG.md b/CHANGELOG.md index 8dd9de37..9a1c82e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/lib/src/commands/install.dart b/lib/src/commands/install.dart index 691de76a..d7a9ec37 100644 --- a/lib/src/commands/install.dart +++ b/lib/src/commands/install.dart @@ -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) { diff --git a/pubspec.yaml b/pubspec.yaml index f9f565c2..6c7377cf 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ author: Tobe O 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