Signing back into the Community for the first time? You'll need to reset your password to access your account.  Find out more.

Forum Discussion

Former Member's avatar
Former Member
4 years ago

[8,9,10] Some suggestions related to Output Formatting

Show human-readable vault name during list:

Thanks a lot for the human-readable output format! (Much nicer than the json list output of v1)!
It would be great if the vault name was shown instead of the vault ID when running a command like op2 item list.

Sample output:

ID TITLE FAVORITE VAULT CATEGORY CREATED EDITED
<id> <titlr> false abcde LOGIN 5 months ago 5 months ago

Pager for outputs:

For very large outputs, eg. op2 item list or sometimes op2 item get, it would be great if a pager, (for example less) was used instead of dumping the output to the terminal.

Related items output:

Looks like the formatting for related items field is slightly messed up.
Two examples: (1) Related items is printed alongside the password. (2) Related Items field printed though it is empty.

```
ID:
Title: <BR /> Vault: <NAME> (<ID>)<BR /> Created: <TIME><BR /> Updated: <TIME> by <USER><BR /> Favorite: false<BR /> Version: 3<BR /> Category: LOGIN<BR /> Fields:<BR /> password: <PASSWORD><BR /> username: <USERNAME>Related Items:</USERNAME></PASSWORD></USER></TIME></TIME></ID></NAME>

URLs:
-
- (primary)

āÆ op2 item get
ID:
Title: <BR /> Vault: <NAME> (o2mtrv7bzra2degf2524ffnque)<BR /> Created: 22 hours ago<BR /> Updated: 7 hours ago by Manoj Karthick Selva Kumar<BR /> Favorite: false<BR /> Version: 3<BR /> Category: DATABASE<BR /> Fields:<BR /> type: <BLAH><BR /> server: <SERVER><BR /> port: <PORT><BR /> database: <DATABASE><BR /> username: <USER><BR /> password: <PASSWPRD>Related Items:<BR /> ```</PASSWPRD></USER></DATABASE></PORT></SERVER></BLAH></NAME>


1Password Version: 2.0.0-beta.8
Extension Version: Not Provided
OS Version: macOS 11.6.1 x86_64

  • 1P_Simon's avatar
    1P_Simon
    Icon for 1Password Team rank1Password Team

    Hi @smanojkarthick, thanks a lot for giving 2.0 a spin and providing these suggestions! I love both of them. Also thank you for reporting that bug with related items. We'll look into it.

    Thanks again and let us know if you have further suggestions or find any other unexpected behavior. Your feedback is tremendously helpful in making 2.0 what we all want it to be! šŸ™Œ

  • Former Member's avatar
    Former Member

    Hey @smanojkarthick!
    Good news! The 1Password CLI 2.0.0-beta.9 includes improvements for the following feedback you provided:
    - Show human-readable vault name during list
    - Related items output

    Thank you again for trying out the CLI 2.0 and for your feedback. We really appreciate your help in making 2.0 what we all want it to be.

  • Former Member's avatar
    Former Member

    This is great! Thank you!