forked from bradygaster/squad
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcli.js
More file actions
Latest commit
14 lines (12 loc) · 545 Bytes
/
Copy pathcli.js
File metadata and controls
14 lines (12 loc) · 545 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env node
// Show deprecation only when invoked via npx/npm (not `node cli.js`)
if(process.env.npm_execpath){
console.error('\x1b[33m');
console.error('⚠ DEPRECATION NOTICE');
console.error(' npx github:bradygaster/squad is deprecated.');
console.error(' Switch to: npm install -g @bradygaster/squad-cli@latest');
console.error(' Or use: npx @bradygaster/squad-cli');
console.error('\x1b[0m');
}
// Forward to the built CLI entry point (auto-executes main())
import'./packages/squad-cli/dist/cli-entry.js';