Function: transient--command-key
transient--command-key is a byte-compiled function defined in
transient.el.gz.
Signature
(transient--command-key CMD)
Source Code
;; Defined in /usr/src/emacs/lisp/transient.el.gz
(defun transient--command-key (cmd)
(and-let* ((obj (transient--suffix-prototype cmd)))
(cond ((slot-boundp obj 'key)
(oref obj key))
((slot-exists-p obj 'shortarg)
(if (slot-boundp obj 'shortarg)
(oref obj shortarg)
(transient--derive-shortarg (oref obj argument)))))))