@manaflow-ai/cloudrouter 0.9.9 → 0.9.10
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/cloudrouter +12 -0
- package/package.json +1 -1
package/bin/cloudrouter
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# Wrapper script for cloudrouter CLI
|
|
3
|
+
# This file may be replaced by postinstall with the platform-specific binary
|
|
4
|
+
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
5
|
+
LIB_BINARY="$SCRIPT_DIR/../lib/cloudrouter"
|
|
6
|
+
|
|
7
|
+
if [ -f "$LIB_BINARY" ] && [ -x "$LIB_BINARY" ]; then
|
|
8
|
+
exec "$LIB_BINARY" "$@"
|
|
9
|
+
fi
|
|
10
|
+
|
|
11
|
+
echo "cloudrouter: binary not found. Try reinstalling: npm install -g @manaflow-ai/cloudrouter" >&2
|
|
12
|
+
exit 1
|