()
| 28 | |
| 29 | |
| 30 | def _register_cli_opts(): |
| 31 | cli_opts = [ |
| 32 | cfg.MultiStrOpt( |
| 33 | "pack", |
| 34 | default=None, |
| 35 | required=True, |
| 36 | positional=True, |
| 37 | help="Name of the pack to setup the virtual environment for.", |
| 38 | ), |
| 39 | cfg.BoolOpt( |
| 40 | "update", |
| 41 | default=False, |
| 42 | help=( |
| 43 | "Check this option if the virtual environment already exists and if you " |
| 44 | "only want to perform an update and installation of new dependencies. If " |
| 45 | "you don't check this option, the virtual environment will be destroyed " |
| 46 | "then re-created. If you check this and the virtual environment doesn't " |
| 47 | "exist, it will create it.." |
| 48 | ), |
| 49 | ), |
| 50 | ] |
| 51 | do_register_cli_opts(cli_opts) |
| 52 | |
| 53 | |
| 54 | def main(argv): |
no test coverage detected