Skip to content

Commit

Permalink
docs: add powershell sample (#3771)
Browse files Browse the repository at this point in the history
* docs: add powershell sample

* fix: doc order
  • Loading branch information
acesyde authored Dec 21, 2024
1 parent ca07f5e commit d410b62
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/tasks/file-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ print('Hello, World!')
console.log(`PATH, ${Deno.env.get("PATH")}`);
```

```powershell [powershell]
#!/usr/bin/env pwsh
#MISE description="Hello, World in Powershell"
$current_directory = Get-Location
Write-Host "Hello from Powershell, current directory is $current_directory"
```

:::

## Editing tasks
Expand Down

0 comments on commit d410b62

Please sign in to comment.