Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/evref-bl/mooseide-export-markdown

I am an helper for MooseIDE Export browser that supports markdown table
https://github.com/evref-bl/mooseide-export-markdown

Last synced: 28 days ago
JSON representation

I am an helper for MooseIDE Export browser that supports markdown table

Awesome Lists containing this project

README

        

# MooseIDE-Export-Markdown

I am an helper for MooseIDE Export browser that supports markdown table

## Installation

```smalltalk
Metacello new
githubUser: 'Evref-BL' project: 'MooseIDE-Export-Markdown' commitish: 'main' path: 'src';
baseline: 'MooseIDEExportMarkdown';
load
```

## Usage

```smalltalk
exportBrowserModel := MiExportModel new.
exportBrowserModel entitiesList: violations.

"Remove default column"
exportBrowserModel removeColumnForQueryNamed: #Name.
exportBrowserModel removeColumnForQueryNamed: #Type.

"export"
exportBrowserModel addColumnForQuery: [ :violation | violation violatedCondition name ] withName: #'Rule name'.
exportBrowserModel addColumnForQuery: [ :violation | violation violatedCondition summary ] withName: #'Rule summary'.

exportBrowserModel addColumnForQuery: [ :violation | violation violatingEntity printString ] withName: #'Violating entity'.

'D:/target.md' asFileReference writeStreamDo: [ :stream | exportBrowserModel writeMarkdownTableOn: stream ].
```