Skip to content
This repository was archived by the owner on Nov 13, 2022. It is now read-only.

TheSacredLipton/open-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

windowsでコマンドプロンプト開いたりエクスプローラー開いたりするやつ

Start

deno run --watch --allow-run --allow-env --unstable app.ts

test

deno test --allow-run --allow-env --unstable

example

import { openExplorer, openTerminal } from "https://pax.deno.dev/TheSacredLipton/open-explorer";
import { join } from "https://deno.land/std/path/mod.ts";
import os from "https://deno.land/x/dos@v0.11.0/mod.ts";

const homeDir = os.homeDir();
if (homeDir) {
  openExplorer(join(homeDir, "Documents"));
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors