We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37dde10 commit 01c6f85Copy full SHA for 01c6f85
2 files changed
plugins/flyctl/fly.go
@@ -0,0 +1,22 @@
1
+package flyctl
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 FlyCLI() schema.Executable {
11
+ return schema.Executable{
12
+ Name: "Fly",
13
+ Runs: []string{"fly"},
14
+ DocsURL: sdk.URL("https://fly.io/docs/flyctl/"),
15
+ NeedsAuth: needsauth.NotForHelpOrVersion(),
16
+ Uses: []schema.CredentialUsage{
17
+ {
18
+ Name: credname.AccessToken,
19
+ },
20
21
+ }
22
+}
plugins/flyctl/plugin.go
@@ -17,6 +17,7 @@ func New() schema.Plugin {
},
Executables: []schema.Executable{
FlyctlCLI(),
+ FlyCLI(),
}
23
0 commit comments