CGI-FR / CGI-FR/LINO

[Proposal] REPORT log at the end of pull or push command

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
23
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Similar to what is done with PIMO (https://github.com/CGI-FR/PIMO/tree/main/demo/demo9#fields) I think it would be nice to have a list of fields that are always printed when pulling/pushing.

Examples

- id (or ids) of the current line being processed
- line number from the input (on push)
- line number from the output (on pull)
- ...

Another "nice to have" is a small result of the processing, for example with PIMO :

```
+-------+--------------------+--------------------+---------------------+--------+-------------+----------+------------+-------------+----------+
| level | stats:ignoredPaths | stats:skippedLines | stats:skippedFields | return | config | duration | input-line | output-line | message |
+-------+--------------------+--------------------+---------------------+--------+-------------+----------+------------+-------------+----------+
| info | 0 | 0 | 0 | 0 | masking.yml | 2.1671ms | 1 | 3 | End PIMO |
+-------+--------------------+--------------------+---------------------+--------+-------------+----------+------------+-------------+----------+
```

_Originally posted by @adrienaury in https://github.com/CGI-FR/LINO/issues/18#issuecomment-845295589_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.