Open zcutlip opened 1 year ago
existing item_get_
convenience functions will make this somewhat complicated. item_get_password()
in particular
Not insurmountable, but worth considering
thinking about a couple issues here and how to do this gracefully...
item_get_password()
convenience method which gets a password from any object type that has a .password
property
Item_get
naming convention with the item type would result in confusion.get_login_item()
, get_password_item()
...?op item get
command/subcommand syntax..OP
object is already getting unwieldy, and this would result in a further explosion in the number of methods
I think it would be useful to have methods that wrap
OP.item_get()
and return a specific op item type.This would have at least two benefits:
OPAbstractItem
I'm picturing something like: