29 lines
504 B
Bash
29 lines
504 B
Bash
wxi-ssh-keys(){
|
|
case ${args['3']} in
|
|
generate)
|
|
wxi-ssh-keys-retrieve ${args['4']}
|
|
wxi-ssh-keys-generate ${args['4']}
|
|
wxi-ssh-keys-save ${args['4']}
|
|
;;
|
|
sign)
|
|
wxi-ssh-keys-sign
|
|
;;
|
|
retrieve)
|
|
wxi-ssh-keys-retrieve ${args['4']}
|
|
;;
|
|
save)
|
|
wxi-ssh-keys-save ${args['4']}
|
|
;;
|
|
sync)
|
|
wxi-ssh-keys-sync
|
|
;;
|
|
clean)
|
|
wxi-ssh-keys-clean
|
|
;;
|
|
*)
|
|
wxi-header "SSH / Keys"
|
|
wxi-footer
|
|
;;
|
|
esac
|
|
}
|