Documentation ¶
Index ¶
- Constants
- func AppendIfMissing(slice []string, key string) []string
- func ConvertJSONLtoJSON(input string) string
- func ConvertStringArrayToString(stringArray []string, separator string) string
- func CreateDirectoryIfNotExists(dir string) error
- func ExistsInArray(slice []string, key string) bool
- func GetAllRecordsForKey(document *jsonquery.Node, key string) []*jsonquery.Node
- func GetAllValuesForKey(document *jsonquery.Node, key string) []string
- func GetDocumentFromFile(filename string) *jsonquery.Node
- func GetHost(str string) string
- func GetValueForQueryBoolean(document *jsonquery.Node, requestedField string, queryKey string, ...) []string
- func GetValueForQueryKey(document *jsonquery.Node, requestedField string, queryKey string, ...) []string
- func GetValuesForKey(document *jsonquery.Node, key string) []string
- func NewLogger() *logger
- func WriteToTextFileInProject(filename string, data string)
- type Config
- type Host
- type Options
- type Preparer
- type Project
Constants ¶
View Source
const VERSION = "0.2.1"
Variables ¶
This section is empty.
Functions ¶
func AppendIfMissing ¶
func ConvertJSONLtoJSON ¶
func ExistsInArray ¶
func GetAllRecordsForKey ¶
func GetDocumentFromFile ¶
func GetValueForQueryBoolean ¶
func GetValueForQueryKey ¶
Types ¶
type Options ¶
type Options struct { SettingsFile string Project string BaseFolder string HostMapping bool TLSCheckFull bool Silent bool Version bool NoColor bool Verbose bool }
func ParseOptions ¶
func ParseOptions() *Options
ParseOptions parses the command line flags provided by a user
type Preparer ¶
type Preparer struct {
// contains filtered or unexported fields
}
func NewPreparer ¶
Click to show internal directories.
Click to hide internal directories.