()
| 60 | } |
| 61 | |
| 62 | function help() { |
| 63 | console.log(` |
| 64 | Usage: chie-cli [flags] |
| 65 | |
| 66 | Options: |
| 67 | |
| 68 | -h show help |
| 69 | -l list all API credentials |
| 70 | --credential <name> chat with the specified API credential |
| 71 | `); |
| 72 | process.exit(0); |
| 73 | } |
| 74 | |
| 75 | function list() { |
| 76 | console.log('API Credentials:'); |