Edit the `cli.readOptions({` call above to include `--allow-root`:

```
options = cli.readOptions({
    version: { type: Boolean, shorthand: 'v' },
    help: { type: Boolean, shorthand: 'h' },
    'allow-root': { type: Boolean }
});
```
And then use `options.allowRoot`. Please confirm that my suggestion works.