blob: 8ab02145ee19df700ec4c41a69369fac88ce4412 [file] [log] [blame]
Mike Frysingerf1ba7ad2022-09-12 05:42:57 -04001# Copyright 2016 The ChromiumOS Authors
Achuith Bhandarkard8d19292016-05-03 14:32:58 -07002# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Achuith Bhandarkare3d5e572018-11-17 14:29:51 -08005"""CLI entry point into lib/vm.py; used for VM management."""
Achuith Bhandarkard8d19292016-05-03 14:32:58 -07006
Mike Frysinger2f5e8432022-04-15 21:53:36 -04007import logging
8
Alex Kleineaf30eb2023-06-15 16:13:36 -06009from chromite.scripts import cros
Achuith Bhandarkar9f49aca2018-10-30 17:46:07 -070010
Mike Frysinger4a243fb2020-02-21 02:56:35 -050011
Achuith Bhandarkard8d19292016-05-03 14:32:58 -070012def main(argv):
Alex Kleineaf30eb2023-06-15 16:13:36 -060013 # 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])