File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ package postgresql
2+
3+ import (
4+ "github.com/1Password/shell-plugins/sdk"
5+ "github.com/1Password/shell-plugins/sdk/needsauth"
6+ "github.com/1Password/shell-plugins/sdk/schema"
7+ "github.com/1Password/shell-plugins/sdk/schema/credname"
8+ )
9+
10+ func Pgcli () schema.Executable {
11+ return schema.Executable {
12+ Name : "pgcli" ,
13+ Runs : []string {"pgcli" },
14+ DocsURL : sdk .URL ("https://pgcli.com/docs" ),
15+ NeedsAuth : needsauth .NotForHelpOrVersion (),
16+ Uses : []schema.CredentialUsage {
17+ {
18+ Name : credname .DatabaseCredentials ,
19+ },
20+ },
21+ }
22+ }
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ func New() schema.Plugin {
1919 Psql (),
2020 Pg_dump (),
2121 Pg_restore (),
22+ Pgcli (),
2223 },
2324 }
2425}
You can’t perform that action at this time.
0 commit comments