blob: 2dcd0c9842115bd1a5cb38ea1f458c2ec4bb7e73 [file] [log] [blame]
# -*- coding: utf-8 -*-
# Copyright 2016 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""CLI entry point into lib/vm.py; used for VM management."""
from __future__ import print_function
import sys
from chromite.lib import vm
assert sys.version_info >= (3, 6), 'This module requires Python 3.6+'
def main(argv):
opts = vm.VM.GetParser().parse_args(argv)
opts.Freeze()
vm.VM(opts).Run()