原始内容
@aotarola/pi-exit
A tiny pi package that adds /exit as an alias for /quit.
Install
From npm
pi install npm:@aotarola/pi-exit
From git
pi install git:github.com/aotarola/pi-exit
Try without installing
From npm
pi -e npm:@aotarola/pi-exit
From git
pi -e git:github.com/aotarola/pi-exit
From a local checkout
pi -e .
Usage
After the package is loaded, use either command:
/quit
/exit
What it does
This package registers a single pi slash command:
/exit— graceful alias for/quitviactx.shutdown()