Mike Frysinger | f1ba7ad | 2022-09-12 05:42:57 -0400 | [diff] [blame] | 1 | # Copyright 2016 The ChromiumOS Authors |
Achuith Bhandarkar | d8d1929 | 2016-05-03 14:32:58 -0700 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
Achuith Bhandarkar | e3d5e57 | 2018-11-17 14:29:51 -0800 | [diff] [blame] | 5 | """CLI entry point into lib/vm.py; used for VM management.""" |
Achuith Bhandarkar | d8d1929 | 2016-05-03 14:32:58 -0700 | [diff] [blame] | 6 | |
Mike Frysinger | 2f5e843 | 2022-04-15 21:53:36 -0400 | [diff] [blame] | 7 | import logging |
| 8 | |
Alex Klein | eaf30eb | 2023-06-15 16:13:36 -0600 | [diff] [blame^] | 9 | from chromite.scripts import cros |
Achuith Bhandarkar | 9f49aca | 2018-10-30 17:46:07 -0700 | [diff] [blame] | 10 | |
Mike Frysinger | 4a243fb | 2020-02-21 02:56:35 -0500 | [diff] [blame] | 11 | |
Achuith Bhandarkar | d8d1929 | 2016-05-03 14:32:58 -0700 | [diff] [blame] | 12 | def main(argv): |
Alex Klein | eaf30eb | 2023-06-15 16:13:36 -0600 | [diff] [blame^] | 13 | # TODO(2024-07-01): Delete this script. |
| 14 | logging.notice( |
| 15 | "`cros_vm` is deprecated in favor of `cros vm`, and will be removed on " |
| 16 | "July 1, 2024. Please update your scripts and begin using that instead." |
| 17 | ) |
| 18 | cros.main(["vm", *argv]) |