# 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
            return self.all[i]
        except IndexError:
            return None


    def __contains__(self, x):
        return self.first(x) is not None


    def get(self, x):
        """Returns argument at given index, else none."""
        try:
            return self.all[x]
        except IndexError:
            return None


    def get_with(self, x):
        """Returns first argument that contains given string."""
        return self.all[self.first_with(x)]


    def remove(self, x):
        """Removes given arg (or list thereof) from Args object."""

        def _remove(x):
            found = self.first(x)
            if found is not None:
                self._args.pop(found)


# 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

            return self.all[i]
        except IndexError:
            return None


    def __contains__(self, x):
        return self.first(x) is not None


    def get(self, x):
        """Returns argument at given index, else none."""
        try:
            return self.all[x]
        except IndexError:
            return None


    def get_with(self, x):
        """Returns first argument that contains given string."""
        return self.all[self.first_with(x)]


    def remove(self, x):
        """Removes given arg (or list thereof) from Args object."""

        def _remove(x):
            found = self.first(x)
            if found is not None:
                self._args.pop(found)


        if is_collection(x):