def run_nbstripout(self):
    'Strip all notebooks of output to save space in commits'
    important('Stripping Notebooks...')
    result = ((local['find'][('.', '-type', 'f', '-not', '-path', '*/\\.*', '-name', '*.ipynb', '-print')] | local['xargs']['nbstripout']) & TF(FG=True))
    if (not result):
        raise CommandError
Strip all notebooks of output to save space in commits
def run_nbstripout(self):
    
    important('Stripping Notebooks...')
    result = ((local['find'][('.', '-type', 'f', '-not', '-path', '*/\\.*', '-name', '*.ipynb', '-print')] | local['xargs']['nbstripout']) & TF(FG=True))
    if (not result):
        raise CommandError