Skip to content

Commit

Permalink
feat: add PWSH script for Windows
Browse files Browse the repository at this point in the history
Co-authored-by: Jeroen Claassens <[email protected]>
  • Loading branch information
enxg and favna committed Sep 22, 2021
1 parent c1757a6 commit c69c55f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/run.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('@oclif/command').run().then(require('@oclif/command/flush')).catch(require('@oclif/errors/handle'));
5 changes: 5 additions & 0 deletions bin/run.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env pwsh

$basedir = Split-Path $MyInvocation.MyCommand.Definition -Parent

& node "$basedir/run.js" $args

0 comments on commit c69c55f

Please sign in to comment.