# Path: pkg/win32/Python27/Lib/site-packages/clint/utils.py
# def expand_path(path):
#     """Expands directories and globs in given path."""
# 
#     paths = []
#     path = os.path.expanduser(path)
#     path = os.path.expandvars(path)
# 
#     if os.path.isdir(path):
# 
#         for (dir, dirs, files) in os.walk(path):
#             for file in files:
#                 paths.append(os.path.join(dir, file))
#     else:
#         paths.extend(glob(path))
# 
#     return paths
# 
# def is_collection(obj):
#     """Tests if an object is a collection. Strings don't count."""
# 
#     if isinstance(obj, basestring):
#         return False
# 
#     return hasattr(obj, '__getitem__')


import os
from sys import argv
    from collections import OrderedDict
    from .packages.ordereddict import OrderedDict
from .utils import expand_path, is_collection
                self._args.pop(found)

        if is_collection(x):
            for item in x:
                _remove(x)
        else:
            _remove(x)


    def pop(self, x):
        """Removes and Returns value at given index, else none."""
        try:
            return self._args.pop(x)
        except IndexError:
            return None


    def any_contain(self, x):
        """Tests if given string is contained in any stored argument."""

        return bool(self.first_with(x))


    def contains(self, x):
        """Tests if given object is in arguments list.
           Accepts strings and lists of strings."""

        return self.__contains__(x)



# Path: pkg/win32/Python27/Lib/site-packages/clint/utils.py
# def expand_path(path):
#     """Expands directories and globs in given path."""
# 
#     paths = []
#     path = os.path.expanduser(path)
#     path = os.path.expandvars(path)
# 
#     if os.path.isdir(path):
# 
#         for (dir, dirs, files) in os.walk(path):
#             for file in files:
#                 paths.append(os.path.join(dir, file))
#     else:
#         paths.extend(glob(path))
# 
#     return paths
# 
# def is_collection(obj):
#     """Tests if an object is a collection. Strings don't count."""
# 
#     if isinstance(obj, basestring):
#         return False
# 
#     return hasattr(obj, '__getitem__')


# Path: pkg/win32/Python27/Lib/site-packages/clint/arguments.py
import os
from sys import argv
    from collections import OrderedDict
    from .packages.ordereddict import OrderedDict
from .utils import expand_path, is_collection

                self._args.pop(found)

        if is_collection(x):
            for item in x:
                _remove(x)
        else:
            _remove(x)


    def pop(self, x):
        """Removes and Returns value at given index, else none."""
        try:
            return self._args.pop(x)
        except IndexError:
            return None


    def any_contain(self, x):
        """Tests if given string is contained in any stored argument."""

        return bool(self.first_with(x))


    def contains(self, x):
        """Tests if given object is in arguments list.
           Accepts strings and lists of strings."""

        return self.__contains__(x)



    def first(self, x):