forked from cloudfoundry/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fake_command3.go
34 lines (27 loc) · 914 Bytes
/
fake_command3.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package fake_command
import (
"github.com/cloudfoundry/cli/cf/command_registry"
"github.com/cloudfoundry/cli/cf/requirements"
"github.com/cloudfoundry/cli/flags"
)
type FakeCommand3 struct {
Data string
}
func init() {
command_registry.Register(FakeCommand3{Data: "FakeCommand3 data"})
}
func (cmd FakeCommand3) MetaData() command_registry.CommandMetadata {
return command_registry.CommandMetadata{
Name: "fake-non-codegangsta-command3",
Description: "Description for fake-command3",
Usage: "Usage of fake-command3",
}
}
func (cmd FakeCommand3) Requirements(_ requirements.Factory, _ flags.FlagContext) (reqs []requirements.Requirement, err error) {
return []requirements.Requirement{}, nil
}
func (cmd FakeCommand3) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command {
return cmd
}
func (cmd FakeCommand3) Execute(c flags.FlagContext) {
}