()
| 169 | .join("\n ")} |
| 170 | */ |
| 171 | const showHelp = () => { |
| 172 | console.log(` |
| 173 | Usage: |
| 174 | ${NAME} [options] [config file path] [output file path] |
| 175 | |
| 176 | Note: All arguments are optional, this is an interactive tool mainly. |
| 177 | |
| 178 | Options: |
| 179 | --help, -h Show this help message |
| 180 | --launch Launch Firefox after profile creation |
| 181 | --output <path> Profile output path |
| 182 | `); |
| 183 | process.exit(0); |
| 184 | }; |
| 185 | |
| 186 | if (args.values.help) { |
| 187 | showHelp(); |