import
Source code
This file contains functions for importing libraries
Index
import
bashrust
Import a library, relative to the current script If '@' is prepended to the library name, it will be imported from the base path If '~' is prepended to the library name, it will be imported from the script entry point
Example
Arguments
- $1 (string): Library name
import::clear
bashrust
Clear the import cache, allowing previously loaded libraries to be re-sourced.
Was this section helpful?