Best (securest) way to pass data from (1Password) CLI?

In case it helps, this is the way I've implemented a "type a password using the 1P CLI" macro.