{"modulePath":"github.com/deepsourcelabs/cli","version":"v0.10.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package list\n\n## Constants\n\n```go\nconst MAX_ISSUE_LIMIT = 100\n```\n\n## Functions\n\n```go\nfunc NewCmdIssuesList() *cobra.Command\n```\n\n## Types\n\n```go\ntype ExportData struct {\n\tOccurences []IssueJSON `json:\"occurences\"`\n\tSummary    Summary     `json:\"summary\"`\n}\n```\n\n```go\ntype IssueJSON struct {\n\tAnalyzer       string       `json:\"analyzer\"`\n\tIssueCode      string       `json:\"issue_code\"`\n\tIssueTitle     string       `json:\"issue_title\"`\n\tOccurenceTitle string       `json:\"occurence_title\"`\n\tIssueCategory  string       `json:\"issue_category\"`\n\tLocation       LocationJSON `json:\"location\"`\n}\n```\n\n```go\ntype IssuesListOptions struct {\n\tFileArg           []string\n\tRepoArg           string\n\tAnalyzerArg       []string\n\tLimitArg          int\n\tOutputFilenameArg string\n\tJSONArg           bool\n\tCSVArg            bool\n\tSARIFArg          bool\n\tSelectedRemote    *utils.RemoteData\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (opts *IssuesListOptions) Run() (err error)\n```\nExecute the command\n\n```go\ntype LineColumn struct {\n\tLine   int `json:\"line\"`\n\tColumn int `json:\"column\"`\n}\n```\n\n```go\ntype LocationJSON struct {\n\tPath     string       `json:\"path\"`     // The filepath where the issue is reported\n\tPosition PositionJSON `json:\"position\"` // The position info where the issue is raised\n}\n```\n\n```go\ntype PositionJSON struct {\n\tBegin LineColumn `json:\"begin\"` // The line where the code covered under the issue starts\n\tEnd   LineColumn `json:\"end\"`   // The line where the code covered under the issue starts\n}\n```\n\n```go\ntype Summary struct {\n\tTotalOccurences int `json:\"total_occurences\"`\n\tUniqueIssues    int `json:\"unique_issues\"`\n}\n```\n\n","path":"github.com/deepsourcelabs/cli/command/issues/list","name":"list","synopsis":"","isRedistributable":true}
