Example #1
0
 def __init__(self, parser=None):
     BaseCommand.__init__(self, parser)
     parser.add_argument("directory",
             help="the path to the directory containing the catalogs")
     parser.add_argument("catalog", nargs='?',
             help="the catalog name to be created or updated")
     parser.add_argument("-m", "--model", nargs='?',
             default="en", help="the model catalog to be used")
Example #2
0
 def __init__(self):
     BaseCommand.__init__(self)
     self.add_subcommand(CatalogsCommand)
     self.add_subcommand(UpdateCommand)
Example #3
0
 def __init__(self, parser=None):
     BaseCommand.__init__(self, parser)
     parser.add_argument("directory",
             help="the path to the directory containing the catalogs")
     parser.add_argument("catalog", nargs='?',
             help="the catalog name to be further examined")