iaurora 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/aurora.js +6 -6
- package/package.json +1 -1
package/bin/aurora.js
CHANGED
|
@@ -33,7 +33,7 @@ function execBinary(args) {
|
|
|
33
33
|
const binary = findBinary();
|
|
34
34
|
if (!binary) {
|
|
35
35
|
console.error('Aurora binary not found.');
|
|
36
|
-
console.error('Run `
|
|
36
|
+
console.error('Run `aurora install` to download it, or build it with `go build -o bin/aurora.exe ./apps/aurora`.');
|
|
37
37
|
process.exit(1);
|
|
38
38
|
}
|
|
39
39
|
const result = spawnSync(binary, args, { stdio: 'inherit' });
|
|
@@ -41,17 +41,17 @@ function execBinary(args) {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
function printHelp() {
|
|
44
|
+
const cmd = 'aurora';
|
|
44
45
|
console.log(`
|
|
45
46
|
Aurora AI Gateway — CLI
|
|
46
47
|
One API for every LLM provider. Self-hosted, open-source.
|
|
47
48
|
|
|
48
49
|
USAGE
|
|
49
|
-
|
|
50
|
+
${cmd} <command>
|
|
50
51
|
|
|
51
52
|
COMMANDS
|
|
52
53
|
help Show this CLI overview
|
|
53
54
|
install Download the Aurora binary for your platform
|
|
54
|
-
version Show version
|
|
55
55
|
Any other arg Passed through to the Aurora binary
|
|
56
56
|
|
|
57
57
|
FLAGS (passed to binary)
|
|
@@ -60,9 +60,9 @@ FLAGS (passed to binary)
|
|
|
60
60
|
-version Show Go binary version info
|
|
61
61
|
|
|
62
62
|
SETUP
|
|
63
|
-
1.
|
|
64
|
-
2. cp .env.template .env
|
|
65
|
-
3.
|
|
63
|
+
1. ${cmd} install # Download the binary
|
|
64
|
+
2. cp .env.template .env # Configure your environment
|
|
65
|
+
3. ${cmd} # Start the gateway
|
|
66
66
|
|
|
67
67
|
Docs: https://github.com/gurveeer/Aurora#readme
|
|
68
68
|
`.trim());
|
package/package.json
CHANGED