feat: add groq ai #9
Annotations
3 errors
tests/index.test.ts#L40
Error: Snapshot `fanyi CLI > should print usage if no arguments are given 1` mismatched
- Expected
+ Received
"Usage: fanyi [options] [command]
A translate tool in your command line
Options:
- -V, --version output the version number
+ -V, --version output the version number
- -h, --help display help for command
+ -h, --help display help for command
Commands:
- config [options] Set the global options
+ config 设置全局选项
list [options]
- Examples:
+ 示例:
$ fanyi word
$ fanyi world peace
- $ fanyi chinglish
+ $ fanyi chinglish
+ $ fanyi config set color true
+ $ fanyi config set iciba true
+ $ fanyi config set groq true
+ $ fanyi config set GROQ_API_KEY your_api_key_here
"
❯ tests/index.test.ts:40:20
|
tests/index.test.ts#L45
Error: Snapshot `fanyi CLI > should print help if -h is given 1` mismatched
- Expected
+ Received
"Usage: fanyi [options] [command]
A translate tool in your command line
Options:
- -V, --version output the version number
+ -V, --version output the version number
- -h, --help display help for command
+ -h, --help display help for command
Commands:
- config [options] Set the global options
+ config 设置全局选项
list [options]
- Examples:
+ 示例:
$ fanyi word
$ fanyi world peace
- $ fanyi chinglish
+ $ fanyi chinglish
+ $ fanyi config set color true
+ $ fanyi config set iciba true
+ $ fanyi config set groq true
+ $ fanyi config set GROQ_API_KEY your_api_key_here
"
❯ tests/index.test.ts:45:20
|
|
This job failed
Loading