Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mrjones2014/op.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed May 28, 2024
2 parents 3f12cf1 + b8f2714 commit af90e02
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/op.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*op.txt* Last change: 2023 April 10
*op.txt* Last change: 2024 March 18

==============================================================================
Table of Contents *op-table-of-contents*
Expand Down Expand Up @@ -267,9 +267,9 @@ All commands are also available as a Lua API, see API <#api>. Additionally
there are two utility methods for grabbing secrets to use in scripting:

- `require('op').get_secret(item_name: string, field_name: string):
string|nil`
string|nil, string|nil`
- `require('op').get_secret_async(item_name: string, field_name: string,
callback: fun(secret: string | nil))`
callback: fun(secret: string|nil, stderr: string|nil))`

------------------------------------------------------------------------------
FEATURES *op-features*
Expand Down Expand Up @@ -398,9 +398,9 @@ Additionally there are two utility methods for grabbing secrets to use in
scripting:

- `require('op').get_secret(item_name: string, field_name: string):
string|nil`
string|nil, string|nil`
- `require('op').get_secret_async(item_name: string, field_name: string,
callback: fun(secret: string | nil))`
callback: fun(secret: string|nil, stderr: string|nil))`
Additionally, part of `op.nvim`'s design includes complete bindings to the CLI
that you can use for scripting with Lua. This API is available in the `op.api`
module. This module returns a table that matches the hierarchy of the
Expand Down

0 comments on commit af90e02

Please sign in to comment.