<commit_before># Usage

To use `watchmaker` in a project::

```python
import watchmaker
```<commit_msg>#26 Updates to usage for watchmaker CLI and inclusion in a package.<commit_after># Usage

To use `watchmaker` in a project::

```python
from watchmaker import PrepArguments, Prepare

arguments = PrepArguments()
arguments.noreboot = False
arguments.s3 = False
arguments.config_path = None
arguments.stream = False
arguments.log_path = False
arguments.saltstates = False

systemprep = Prepare(arguments)
systemprep.install_system()
```

To use `watchmaker` from the CLI::

```
usage: watchmaker.py [-h] [--noreboot] [--sourceiss3bucket] [--config CONFIG]
             [--logger] [--log-path LOG_PATH] [--saltstates SALTSTATES]

optional arguments:
  -h, --help            show this help message and exit
  --noreboot            No reboot after provisioning.
  --sourceiss3bucket    Use S3 buckets instead of internet locations for
                        files.
  --config CONFIG       Path or URL to the config.yaml file.
  --logger              Use stream logger for debugging.
  --log-path LOG_PATH   Path to the logfile for stream logging.
  --saltstates SALTSTATES
                        Define the saltstates to use. Must be 'None', 'Highstate',
                        or 'comma-seperated-string'

```
{'fraction_non_alphanumeric': 0.09694656488549619, 'fraction_numerical': 0.004580152671755725, 'mean_word_length': 2.7780979827089336, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5123149', 'n_tokens_mistral': 389, 'n_tokens_neox': 359, 'n_words': 133}