Prompt user for input in WP CLI

I didn’t find any wp-cli utility either, but readline php function works just fine. PHPStorm warns me that ext-readline must be enabled in order to use it, but it seems like something that is always enabled in cli environment

WP-CLI – Return posts with matching meta key

Managed to figure this out, you can pass –meta_key and –meta_compare arguments like this… wp post list –fields=ID,mycustomfield –meta_key=mycustomfield ‘–meta_compare=active’ ID | mycustomfield ———————– 1 | active 2 | active 4 | active

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)