class

Shards::Audit::Config

Inherits Reference < Object

Constructors

new(lockfile_path : String = "./shard.lock", format : Shards::Audit::OutputFormat = OutputFormat::Table, github_token : Nil | String = ENV["GITHUB_TOKEN"]?, verbose : Bool = false, no_color : Bool = false, timeout : Int32 = 30, cache_dir : String = File.join(Path.home.to_s, ".cache", "shards-audit"), cache_ttl : Int32 = 86400, no_cache : Bool = false, ignore_ids : Array(String) = [] of String, severity_threshold : Shards::Audit::Severity | Nil = nil, exit_zero : Bool = false)
Source

Instance methods

cache_dir
Source
cache_dir=(cache_dir : String)
Source
cache_ttl
Source
cache_ttl=(cache_ttl : Int32)
Source
exit_zero
Source
exit_zero=(exit_zero : Bool)
Source
format
Source
format=(format : OutputFormat)
Source
github_token
Source
github_token=(github_token : String | Nil)
Source
ignore_ids
Source
ignore_ids=(ignore_ids : Array(String))
Source
lockfile_path
Source
lockfile_path=(lockfile_path : String)
Source
no_cache
Source
no_cache=(no_cache : Bool)
Source
no_color
Source
no_color=(no_color : Bool)
Source
severity_threshold
Source
severity_threshold=(severity_threshold : Severity | Nil)
Source
timeout
Source
timeout=(timeout : Int32)
Source
verbose
Source
verbose=(verbose : Bool)
Source