Crate crab_env[][src]

Expand description

Provides utilities for developing Crates for the Crab-Shell.

The most useful one is the Environment struct,

Structs

Struct that contains all Crab-Shell variables.

Constants

Statics

List of Crates currently installed.

Returns Crab-Shell’s main directories paths (CONFIG and DATA).

Functions

Loads the current Environment from CONFIG_PATH/env.toml and returns it.

Loads the current Environment from CONFIG_PATH/env.toml into the provided env, overwriting it.

Prints a bold orange message

Saves Environment into CONFIG_PATH/env.toml