Skip to content

Add CLIROOT and CMDROOT instead of cd'ing to project root#10

Merged
AaronMcHale merged 4 commits into
mainfrom
cliroot-cmdroot
Apr 19, 2026
Merged

Add CLIROOT and CMDROOT instead of cd'ing to project root#10
AaronMcHale merged 4 commits into
mainfrom
cliroot-cmdroot

Conversation

@AaronMcHale

@AaronMcHale AaronMcHale commented Apr 19, 2026

Copy link
Copy Markdown
Owner

It's more likely that a command would want to run from the user's current working directory. Instead of changing directories, add a new CLIROOT variable which contains the directory of the cli script. Also add a CMDROOT variable which is the path to the commands directory.

@AaronMcHale AaronMcHale changed the title Add CLIROOT and CMDROOT Add CLIROOT and CMDROOT instead of cd'ing to project root Apr 19, 2026
@AaronMcHale AaronMcHale merged commit 1ea3b4e into main Apr 19, 2026
2 checks passed
@AaronMcHale AaronMcHale deleted the cliroot-cmdroot branch April 19, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant