1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

make op completion to work with latest nushell (#936)

with newest version of nushell, this completion is not accepted.
This commit is contained in:
Sylvain Desbureaux 2024-08-19 12:32:02 +02:00 committed by GitHub
parent f0c293bdf9
commit 149d9584c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -592,7 +592,7 @@ export extern "op document list" [
export alias "document ls" = document list
# Manage Events API integrations in your 1Password connect
export extern "op events"-api [
export extern "op events-api" [
# GLOBAL FLAGS
--account=account: string@"nu completion account" # Select the account to execute the command by account shorthand, sign-in address, account ID, or user ID. For a list of available accounts, run 'op account list'. Can be set as the OP_ACCOUNT environment variable.
--cache # Store and use cached information. Caching is enabled by default on UNIX-like systems. Caching is not available on Windows. Options: true, false. Can also be set with the OP_CACHE environment variable. (default true)