Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias alias alias alias alias FunctionDef arguments args defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Print Call NameLoad Str NameLoad Return If BoolOpAnd NameLoad UnaryOpNot Call NameLoad BinOpAdd BinOpAdd Str Call NameLoad Str NameLoad Str body Return If Call NameLoad BinOpMod Str Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body If NameLoad body Print Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad keyword NameLoad If NameLoad body Print Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If BoolOpOr UnaryOpNot NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return If NameLoad body Print NameLoad orelse Print Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Clean jip jobs

This command can be used to remove job log files and job data.

Usage:
    jip-clean [-j <id>...] [-J <cid>...] [-l] [-d] [--dry]
    jip-clean [--help|-h]

Options:
    -j, --job <id>           List jobs with specified id
    -J, --cluster-job <cid>  List jobs with specified cluster id
    -l, --logs               Remove log files
    -d, --data               Remove job data
    --dry                    Dry run, print status but do not delete
                             any files
    -h --help                Show this help message
 N/A os N/A jip.db N/A jip.jobs N/A jip.cluster N/A parse_args parse_job_ids confirm colorize RED main N/A N/A N/A N/A N/A args N/A parse_args __doc__ options_first False N/A N/A job_ids cluster_ids N/A parse_job_ids args N/A jobs N/A N/A N/A jip db query job_ids job_ids cluster_ids cluster_ids archived None N/A jobs N/A N/A N/A jip jobs resolve_jobs jobs N/A logs N/A args N/A --logs N/A data N/A args N/A --data N/A dry N/A args N/A --dry N/A N/A N/A logs N/A data N/A N/A N/A colorize Neither --logs nor --data selected.
Nothing to delete RED N/A N/A N/A data N/A N/A confirm N/A N/A You are about to delete job output!
 N/A colorize The will remove result files from disk!
 RED Are you sure ? N/A N/A N/A N/A confirm N/A Are you sure you want to clean %d jobs N/A len jobs False N/A N/A cluster N/A N/A N/A jip cluster get N/A job jobs N/A N/A logs N/A N/A Removing logs for job N/A stdout N/A N/A cluster resolve_log job N/A job stdout N/A N/A _remove stdout dry dry N/A stderr N/A N/A cluster resolve_log job N/A job stderr N/A N/A _remove stderr dry dry N/A data N/A N/A Removing data for job N/A files N/A N/A job get_output_files N/A f files N/A N/A N/A _remove f dry dry N/A _remove N/A N/A f dry N/A True N/A N/A N/A N/A f N/A N/A N/A N/A os path exists f N/A N/A N/A dry N/A N/A f N/A N/A Removing f N/A N/A N/A os remove f N/A N/A N/A __name__ __main__ N/A N/A N/A main