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:
Xavier Delaruelle
2022-09-26 18:08:12 +02:00
parent 4d2bca5b33
commit 0e9d62e8f7

View File

@@ -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: ***