mirror of
https://github.com/TheLocehiliosan/yadm
synced 2026-03-02 03:49:29 +00:00
Merge pull request #57 from renard/enter-function
This commit is contained in:
9
yadm
9
yadm
@@ -53,7 +53,7 @@ function main() {
|
||||
|
||||
#; parse command line arguments
|
||||
local retval=0
|
||||
internal_commands="^(alt|bootstrap|clean|clone|config|decrypt|encrypt|help|init|list|perms|version)$"
|
||||
internal_commands="^(alt|bootstrap|clean|clone|config|decrypt|encrypt|enter|help|init|list|perms|version)$"
|
||||
if [ -z "$*" ] ; then
|
||||
#; no argumnts will result in help()
|
||||
help
|
||||
@@ -432,6 +432,13 @@ function encrypt() {
|
||||
|
||||
}
|
||||
|
||||
function enter() {
|
||||
require_repo
|
||||
echo "Entering repo"
|
||||
$SHELL
|
||||
echo "Leaving repo"
|
||||
}
|
||||
|
||||
function git_command() {
|
||||
|
||||
require_repo
|
||||
|
||||
Reference in New Issue
Block a user