mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: 支持联合排名
This commit is contained in:
1 parent
c0e67917a2
commit
f906178de3
5 files changed
+70
-42
No files matched your search
@@ -33,6 +33,7 @@ async function cli() {
|
||||
const [, modelName, func, ...args] = argv.args as [string, string, string, ...any[]];
|
||||
if (modelName === 'script') {
|
||||
let arg: any;
|
||||
console.log(args.join(' '));
|
||||
try {
|
||||
arg = JSON.parse(args.join(' '));
|
||||
} catch (e) {
|
||||
|
||||
Reference in new issue
Block a user