This is not possible.
You may want to create a stored procedure such as
DELIMITER //
CREATE PROCEDURE GetPerson(p_lname VARCHAR(50))
BEGIN
SELECT fname, age, address FROM person WHERE lname = p_lname;
END //
DELIMITER ;
and then be able to
mysql> CALL GetPerson('smith');
But this is pretty much as far as you can go.
mysql
client's purpose is to run SQL queries (and manage the service), SQL is a query language, not meant for user interaction.