Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.
/ semitia Public archive

for deno, thin wrapper of Deno.watchFs

License

Notifications You must be signed in to change notification settings

Nanai10a-Archives/semitia

Repository files navigation

semitia

for deno, thin wrapper of Deno.watchFs

"semitia" ... from twdne

usage

minimal usage:

deno run --allow-read=$PWD --allow-run https://deno.land/x/semitia/cli.ts -ms echo

...then if changed files, shows full paths of file.
example:

$ deno run --allow-read=$PWD --allow-run https://deno.land/x/semitia/cli.ts -ms echo
# write some changes to README.md, then ...
/home/user/semitia/README.md

...but usually will be able to use this:

$ deno run -A https://deno.land/x/semitia/cli.ts -ms echo

permission

here is a list of used Deno APIs.
example:

  • API : permission

then, it's list:

  • Deno.watchFs : read
  • Deno.args : none
  • Deno.run : run

install

(you can use -A --unstable flags, but semitia doesn't need unnecessary permissions)

deno install --allow-read --allow-run --name semitia https://deno.land/x/semitia/cli.ts

warn: please setup environment variables ($PATH) yourself!