blob: e3232c5d7748e01506dd51348dafe0cf51b4680a [file] [log] [blame]
Mike Frysingere58c0e22017-10-04 15:43:30 -04001# -*- coding: utf-8 -*-
Achuith Bhandarkard8d19292016-05-03 14:32:58 -07002# Copyright 2016 The Chromium OS Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
Achuith Bhandarkare3d5e572018-11-17 14:29:51 -08006"""CLI entry point into lib/vm.py; used for VM management."""
Achuith Bhandarkard8d19292016-05-03 14:32:58 -07007
8from __future__ import print_function
9
Achuith Bhandarkare3d5e572018-11-17 14:29:51 -080010from chromite.lib import vm
Achuith Bhandarkar9f49aca2018-10-30 17:46:07 -070011
Achuith Bhandarkard8d19292016-05-03 14:32:58 -070012def main(argv):
Achuith Bhandarkare3d5e572018-11-17 14:29:51 -080013 opts = vm.VM.GetParser().parse_args(argv)
Achuith Bhandarkar2beae292018-03-26 16:44:53 -070014 opts.Freeze()
15
Achuith Bhandarkare3d5e572018-11-17 14:29:51 -080016 vm.VM(opts).Run()