@@ -16,7 +16,7 @@ All functions have been tested in `bash`, `dash`, `ksh`, and `zsh`.
1616
1717### The API
1818- [ confirm] ( doc/api.md#confirm )
19- - [ import ] ( doc/api.md#import )
19+ - [ export-file ] ( doc/api.md#export-file )
2020- [ join-file] ( doc/api.md#join-file )
2121- [ pipe-file] ( doc/api.md#pipe-file )
2222- [ print-text] ( doc/api.md#print-text )
@@ -35,9 +35,9 @@ All functions have been tested in `bash`, `dash`, `ksh`, and `zsh`.
3535
3636### Install
3737
38- - Install this project as an ` npm ` module .
38+ - Install this project via ` npm ` .
3939
40- npm i shell-api
40+ npm i shell-api --save
4141
4242- Symlink the ` shell ` directory within a project.
4343
@@ -55,7 +55,7 @@ All functions have been tested in `bash`, `dash`, `ksh`, and `zsh`.
5555 # Load the whole framework at once
5656 . "${SHELL_API_PATH}"/shell-api
5757
58- import ./.env
58+ export-file ./.env
5959 require <SCRIPT>
6060
6161 ...
@@ -67,12 +67,12 @@ All functions have been tested in `bash`, `dash`, `ksh`, and `zsh`.
6767 SCRIPT_PATH=$(cd "$(dirname "${0}")"; pwd)
6868 SHELL_API_PATH="${SCRIPT_PATH}/../.shell"
6969
70- # Load specific parts of the framework
70+ # Selectively load parts of the framework
7171 . "${SHELL_API_PATH}"/strict-mode
72- . "${SHELL_API_PATH}"/import
72+ . "${SHELL_API_PATH}"/export-file
7373 . "${SHELL_API_PATH}"/require
7474
75- import ./.env
75+ export-file ./.env
7676 require <SCRIPT>
7777
7878 ...
0 commit comments