Skip to content

Commit

Permalink
restore cli.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sxlijin committed Jul 2, 2024
1 parent edd7788 commit 63fad36
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ $RECYCLE.BIN/
engine/language_client_typescript/*.d.ts
engine/language_client_typescript/*.d.ts.map
engine/language_client_typescript/*.js
!engine/language_client_typescript/cli.js
engine/language_client_ruby/**/*.bundle
engine/target/
Cargo.lock
Expand Down
5 changes: 0 additions & 5 deletions engine/.gitignore

This file was deleted.

6 changes: 6 additions & 0 deletions engine/language_client_typescript/cli.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env node

if (require.main === module) {
const baml = require('./native')
baml.invoke_runtime_cli(process.argv.slice(1))
}

0 comments on commit 63fad36

Please sign in to comment.