Skip to main content
Skip to main content

import

Source code

This file contains functions for importing libraries

Index

import

bash rust

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

import fmt

Arguments

  • $1 (string): Library name

import::clear

bash rust

Clear the import cache, allowing previously loaded libraries to be re-sourced.

Was this section helpful?