Skip to content

Commit

Permalink
Merge pull request #334 from IBM-Cloud/dev
Browse files Browse the repository at this point in the history
Promote 0.11.0
  • Loading branch information
Aerex authored Jul 12, 2022
2 parents 77c38ba + 0375e58 commit 259a03a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "^.secrets.baseline$|go.sum",
"lines": null
},
"generated_at": "2022-06-27T21:25:41Z",
"generated_at": "2022-07-08T20:25:00Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -350,7 +350,7 @@
"hashed_secret": "616e17a3f6182ce45befae8060d30bcb969a2897",
"is_secret": false,
"is_verified": false,
"line_number": 720,
"line_number": 723,
"type": "Hex High Entropy String",
"verified_result": null
}
Expand Down
2 changes: 1 addition & 1 deletion bluemix/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package bluemix
import "fmt"

// Version is the SDK version
var Version = VersionType{Major: 0, Minor: 10, Build: 1}
var Version = VersionType{Major: 0, Minor: 11, Build: 0}

// VersionType describe version info
type VersionType struct {
Expand Down
3 changes: 3 additions & 0 deletions docs/plugin_developer_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ IBM Cloud CLI SDK provides a set of APIs to register and manage plug-ins. It als
PrivateEndpointSupported: true,
IsCobraPlugin: true,
Commands: []plugin.Command{
{
Name: "echo",
Expand All @@ -75,6 +77,7 @@ IBM Cloud CLI SDK provides a set of APIs to register and manage plug-ins. It als
- _Version_: The version of plug-in.
- _MinCliVersion_: The minimal version of IBM Cloud CLI required by the plug-in.
- _PrivateEndpointSupported_: Indicates if the plug-in is designed to also be used over the private network.
- _IsCobraPlugin_: Indicates if the plug-in is built using the Cobra framework
- _Commands_: The array of `plugin.Commands` to register the plug-in commands.
- _Alias_: Alias of the Alias usually is a short name of the command.
- _Command.Flags_: The command flags (options) which will be displayed as a part of help output of the command.
Expand Down
3 changes: 3 additions & 0 deletions plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ type PluginMetadata struct {

// Whether the plugin supports private endpoint access via VPC
IsAccessFromVPC bool

// Whether the plugin was built using Cobra
IsCobraPlugin bool
}

func (p PluginMetadata) NameAndAliases() []string {
Expand Down

0 comments on commit 259a03a

Please sign in to comment.