pystax/stax.py
def add_stack(stack_name, opts=None):
    """
    add a stack by name, creates class as needed
    """
    if opts is None:
        opts = {}
    stack_list.append(stack_name)
    class_name = stack_name_to_class_name(stack_name)
    stack_class = locals().get(class_name)
    if not stack_class:
        stack_class = Stack(stack_name)
    stack_command = stack_command_factory(stack_name)
    cli.add_command(stack_command)
    # TODO include mixin stuff here
    # TODO imports, type, groups (whatever those are)

    add a stack by name, creates class as needed
    
add a stack by name, creates class as needed
add a stack by name creates class as needed
def add_stack(stack_name, opts=None):
    if opts is None:
        opts = {}
    stack_list.append(stack_name)
    class_name = stack_name_to_class_name(stack_name)
    stack_class = locals().get(class_name)
    if not stack_class:
        stack_class = Stack(stack_name)
    stack_command = stack_command_factory(stack_name)
    cli.add_command(stack_command)
def add_stack ( stack_name , opts = None ) : if opts is None : opts = { } stack_list . append ( stack_name ) class_name = stack_name_to_class_name ( stack_name ) stack_class = locals ( ) . get ( class_name ) if not stack_class : stack_class = Stack ( stack_name ) stack_command = stack_command_factory ( stack_name ) cli . add_command ( stack_command )
add a stack by name, creates class as needed
add a stack by name creates class as needed
"""
    add a stack by name, creates class as needed
    """ # TODO include mixin stuff here # TODO imports, type, groups (whatever those are)
stack_name
opts