# -*- coding: utf-8 -*-

from nimp.commands._cis_command import *
from nimp.utilities.wwise import *

#-------------------------------------------------------------------------------
class BuildWwiseBanksCommand(CisCommand):
    abstract = 0
    #---------------------------------------------------------------------------
    def __init__(self):
        CisCommand.__init__(self, 'cis-wwise-build-banks', 'Builds Wwise Banks')

    #---------------------------------------------------------------------------
    def cis_configure_arguments(self, env, parser):
        parser.add_argument('platform',
                            help    = 'Platform to build',
                            metavar = '<PLATFORM>')

        parser.add_argument('--checkin',
                            help    = 'Automatically checkin result',
                            action  = "store_true",
                            default = False)
        return True

    #---------------------------------------------------------------------------
    def _cis_run(self, env):
        return build_wwise_banks(env)

@@ -584,16 +584,52 @@
 gument('
+-p',%0A                            '--
 platform
@@ -734,16 +734,16 @@
 = '%3C
-PLATFORM
+platform
 %3E')%0A

Replace "<platform>" with "-p <platform>" in CIS wwise command.