mirror of
https://github.com/envmodules/modules.git
synced 2026-05-30 00:12:31 +08:00
Core code for cmdModuleStashshow
Implement 'stashshow' sub-command. Parse stash argument to get corresponding collection, then call saveshow over this collection name.
This commit is contained in:
@@ -2812,6 +2812,11 @@ proc cmdModuleStashrm {{stash 0}} {
|
||||
}
|
||||
|
||||
proc cmdModuleStashshow {{stash 0}} {
|
||||
# determine stash collection name from argument
|
||||
set coll [getCollectionFromStash $stash]
|
||||
|
||||
# display stash collection file
|
||||
cmdModuleSaveshow $coll
|
||||
}
|
||||
|
||||
# ;;; Local Variables: ***
|
||||
|
||||
Reference in New Issue
Block a user