github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/cf/flags/backwards_compatibility.go (about)

     1  package flags
     2  
     3  type backwardsCompatibilityType int
     4  
     5  type BackwardsCompatibilityFlag struct{}
     6  
     7  func (f *BackwardsCompatibilityFlag) Set(v string) {}
     8  
     9  func (f *BackwardsCompatibilityFlag) String() string {
    10  	return ""
    11  }
    12  
    13  func (f *BackwardsCompatibilityFlag) GetName() string {
    14  	return ""
    15  }
    16  
    17  func (f *BackwardsCompatibilityFlag) GetShortName() string {
    18  	return ""
    19  }
    20  
    21  func (f *BackwardsCompatibilityFlag) GetValue() interface{} {
    22  	return backwardsCompatibilityType(1)
    23  }
    24  
    25  func (f *BackwardsCompatibilityFlag) Visible() bool {
    26  	return false
    27  }