4 import wizard.deploy as wd
6 def main(argv, global_options):
7 usage = """usage: %prog migrate [ARGS] DIR
9 Migrates a directory to our Git-based autoinstall format.
10 Performs basic sanity checking and intelligently determines
11 what repository and tag to use.
13 NOTICE: Currently doesn't do anything."""
14 parser = optparse.OptionParser(usage)
15 parser.add_option("-v", "--verbose", dest="verbose", action="store_true",
16 default=False, help="Print all commands and outputs")
17 parser.add_option("--dry-run", dest="dry_run", action="store_true",
18 default=False, help="Prints would would be run without changing anything")
19 options, args = parser.parse_args(argv)
21 parser.error("too many arguments")
23 parser.error("must specify directory")