Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions momo-cli
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Mobile Money Admin CLI Wrapper
# Usage: ./momo-cli retry-batch <batch_id>

# Set current working directory to project root
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIR"

# Run momo-cli via tsx
npx tsx src/scripts/momo-cli.ts "$@"
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Mobile money to Stellar backend service",
"main": "dist/index.js",
"scripts": {
"momo-cli": "tsx src/scripts/momo-cli.ts",
"prepare": "husky",
"audit:high": "npm audit --audit-level=high",
"snyk:test:high": "snyk test --severity-threshold=high",
Expand Down Expand Up @@ -137,9 +138,8 @@
"spdy": "^4.0.2",
"nats": "^2.28.2",
"speakeasy": "^2.0.0",
"stellar-sdk": "^12.3.0",
"swagger-ui-express": "5.0.1",
"twilio": "^5.13.1",
"stellar-sdk": "^11.3.0",
"twilio": "^6.0.2",
"ua-parser-js": "^2.0.9",
"uuid": "^9.0.0",
"ws": "^8.18.0",
Expand All @@ -165,9 +165,7 @@
"@types/connect-timeout": "^0.0.38",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/express-session": "^1.19.0",
"@types/graphql-depth-limit": "^1.1.6",
"@types/helmet": "^0.0.48",
"@types/express-session": "^1.18.2",
"@types/jest": "^29.5.14",
"@types/js-yaml": "^4.0.9",
"@types/jsonwebtoken": "^9.0.10",
Expand Down
Loading
Loading