Add cmd wrapper script

This commit is contained in:
Michael Wolf
2025-10-25 14:18:08 -06:00
parent de7dbf45cd
commit 6a4a2f7eef
7 changed files with 99 additions and 0 deletions

9
cmd.d/list Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -eu
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIR"
ls .

7
cmd.d/pnpm Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -eu
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
"$DIR"/../framework/shims/pnpm "$@"

17
cmd.d/sync Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
set -eu
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# figure out the platform we're on
# source ../framework/versions
# [eventually: check for it in user's cache dir
# download $nodejs_version
# verify its checksum against $nodejs_checksum
cd $DIR/../framework/node