summaryrefslogtreecommitdiffstats
path: root/src/poem/anthology/cd.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add docstring comments to all the anthology functionsRory Dudley2024-03-311-0/+11
| | | | | | Add docstring comments for all the incant function throughout the anthology, documenting what each function does, and an example of it's shell command.
* Replace env!("HOME") with env::var("HOME")Rory Dudley2024-03-301-1/+8
| | | | | | Replaced all (non-test) instances of env!("HOME") with env::var("HOME"). The env! macro should only be used in instances where the environment variable should be resolved during compile time.
* The anthology moduleRory Dudley2024-03-281-0/+20
The anthology module was added to run built-in commands. The 'cd' and 'exit' built-ins were moved from the main recite() loop to this module. Additionally, the 'export' and 'source' built-ins were added.