<commit_before># Command line tool
<!-- toc -->

```bash
>  pyppl-cli --help
 
usage: pyppl-cli [-h] [-w WORKDIR] {clean,list} ...

A set of CLI tools for pyppl.

positional arguments:
  {clean,list}
    clean               Clean a workdir
    list                List the status of a workdir

optional arguments:
  -h, --help            show this help message and exit
  -w WORKDIR, --workdir WORKDIR
                        The path of workdir, default: ./workdir
```

## List processes
Example:
```
 >  pyppl-cli list  

WORKDIR: ./workdir (Yellow processes are to be cleaned!)
--------------------------------------------------------

- PROCESSES: pSnpEff2Stat.vs
  ------------------------------------
  6Tka6wMZ: 2017-05-24 18:06:58 

- PROCESSES: pFiles2Dir.vs
  ------------------------------------
  76mwm2dC: 2017-05-24 15:03:53 

- PROCESSES: pPlotSnpEff.vs
  ------------------------------------
  4OX5hIPw: 2017-05-24 17:05:56 

- PROCESSES: pCallRate.vs
  ------------------------------------
  7P4pZK2a: 2017-05-24 19:07:21 

- PROCESSES: pVcf2List.vs
  ------------------------------------
  2Q1jkL5L: 2017-05-25 21:09:20 

- PROCESSES: pVcf2Stat.vs
  ------------------------------------
  6kuBSGJJ: 2017-05-24 18:06:28 

- PROCESSES: pSnpEff.vs
  ------------------------------------
  1X5cGEfP: 2017-05-24 14:02:03 

- PROCESSES: pVcfStats.vs
  ------------------------------------
  54VSCVcd: 2017-05-24 19:07:22 

- PROCESSES: pCbindList.vs
  ------------------------------------
  3YANehrC: 2017-05-25 21:09:20 
```

## Clean processes
If you run `pyppl-cli clean`, it will list all processes, and prompt you whether to remove the old processes with the same id and tag.  
You can run `pyppl-cli clean -f` to clean the processes without prompt.<commit_msg>Update docs<commit_after># Command line tool
<!-- toc -->

```bash
>  pyppl --help
 
usage: pyppl [-h] [-w WORKDIR] {clean,list} ...

A set of CLI tools for pyppl.

positional arguments:
  {clean,list}
    clean               Clean a workdir
    list                List the status of a workdir

optional arguments:
  -h, --help            show this help message and exit
  -w WORKDIR, --workdir WORKDIR
                        The path of workdir, default: ./workdir
```

## List processes
Example:
```
 >  pyppl list  

WORKDIR: ./workdir (Yellow processes are to be cleaned!)
--------------------------------------------------------

- PROCESSES: pSnpEff2Stat.vs
  ------------------------------------
  6Tka6wMZ: 2017-05-24 18:06:58 

- PROCESSES: pFiles2Dir.vs
  ------------------------------------
  76mwm2dC: 2017-05-24 15:03:53 

- PROCESSES: pPlotSnpEff.vs
  ------------------------------------
  4OX5hIPw: 2017-05-24 17:05:56 

- PROCESSES: pCallRate.vs
  ------------------------------------
  7P4pZK2a: 2017-05-24 19:07:21 

- PROCESSES: pVcf2List.vs
  ------------------------------------
  2Q1jkL5L: 2017-05-25 21:09:20 

- PROCESSES: pVcf2Stat.vs
  ------------------------------------
  6kuBSGJJ: 2017-05-24 18:06:28 

- PROCESSES: pSnpEff.vs
  ------------------------------------
  1X5cGEfP: 2017-05-24 14:02:03 

- PROCESSES: pVcfStats.vs
  ------------------------------------
  54VSCVcd: 2017-05-24 19:07:22 

- PROCESSES: pCbindList.vs
  ------------------------------------
  3YANehrC: 2017-05-25 21:09:20 
```

## Clean processes
If you run `pyppl clean`, it will list all processes, and prompt you whether to remove the old processes with the same id and tag.  
You can run `pyppl clean -f` to clean the processes without prompt.
{'fraction_non_alphanumeric': 0.30135823429541597, 'fraction_numerical': 0.08432371250707414, 'mean_word_length': 1.2880258899676376, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2940856', 'n_tokens_mistral': 1402, 'n_tokens_neox': 1134, 'n_words': 304}