So if you want access to the specific way the command is typed, you use a normal function or script;
by the time it's executed it's too late.You need to hook into the completion or editing (ZLE) functionality.