Terminal Markdown Link

Can there be a function or command added to the terminal client that allows the Markdown Link to be copied into the clipboard.

This allows the terminal client to have the same functionality as joplin-desktop.

This feature would be highly useful for linking notes quickly rather than toggling the metadata copying the id and inserting it into a note.