module App
Included Modules
Extended Modules
Defined in:
app.crConstant Summary
-
VERSION =
{{ (`shards version`).stringify }}
Class Method Summary
- .context_finished_callback(context : CLI::Context, argument : String) : Nil
-
.deploy(*, output_path : Path, reports_by_category : Hash(String, Array(Report)), reports : Array(Report), commit_name : String, commit_url : String | Nil, commit_tz : Time, incomplete : Bool)
This method deploys the visualization.
- .find_report_type(path : String) : CLI::Context
-
.run(argv = ARGV)
Parses cli options and executes the visualization
Macros inherited from module CLI::Macros
footer(text)
footer,
header(text)
header,
option(long_flag, description, &block)option(short_flag, long_flag, description, &block) option
Class Method Detail
def self.deploy(*, output_path : Path, reports_by_category : Hash(String, Array(Report)), reports : Array(Report), commit_name : String, commit_url : String | Nil, commit_tz : Time, incomplete : Bool)
#
This method deploys the visualization.
Here, the output directory is created, all static files are copied and the ECR files are rendered.
This is done using macros so the template
directory does not need to be shipped.