Versions in this module Expand all Collapse all v0 v0.2.0 Nov 29, 2022 v0.1.0 Nov 25, 2022 Changes in this version + const FormatCSV + const FormatJSON + const FormatPretty + const FormatSARIF + var ErrFailedToSaveOutput = func(err error) error + var ErrInvalidFormatParam = errors.New("failed to parse format value") + var ErrMissingToken = errors.New(...) + type Args struct + Format string + Output string + Path string + Quiet bool + Token string + func (args *Args) SetDefault() error + func (args Args) Validate() error + type Handler struct + Archiver archiver.Archiver + Args *Args + Config *config.Config + GRClient grclient.GuardRailsClient + OutputWriter *outputwriter.OutputWriter + Repository repository.Repository + Spinner *spinner.Spinner + func New(args *Args, spinner *spinner.Spinner, config *config.Config, ...) *Handler + func (h *Handler) Execute(ctx context.Context) (constant.ExitCode, error) + func (h *Handler) GetScanDataFormatter(resp *guardrailsclient.GetScanDataResp) error