API to treat output results outside of robocop
See original GitHub issueFeature: It would be useful to implement an API that returns robocop output results.
For example:
from robocop.run import run_robocop
test = run_robocop()
In this specific scenario it would be very useful to retrieve the output in order to manage data outside of the robocop context (for example reports, badges and more).
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Rules - Robocop 2.6.0
Output message of rules can be defined with -f / --format argument. ... VisitorChecker uses Robot Framework parsing API and Python ast module...
Read more >MarketSquare/robotframework-robocop - GitHub
It uses official Robot Framework parsing API to parse files and run number of checks, looking for potential errors or violations to code...
Read more >Using work items | Robocorp documentation
Dependencies. The primary way to interact with work items is through the RPA. · The producer: Creating output work items · The consumer:...
Read more >Get $LastExitCode from robocopy result and output to file
How do I get the $LastExitCode from robocopy result in PowerShell and output it to file? This is what I tried:
Read more >Cookstyle - Chef Software
Cookstyle is a code linting tool that helps you write better Chef Infra cookbooks by detecting and automatically correcting style, syntax, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Output looks great.
For returning the output I can create special method - I want to keep it separate, ie have current run() be described as
run_cli()and for running from pythonrun(). It would allow bit different configuration (easier) and we can return payload fromrun()whilerun_cli()would behave the same as it is now.We also need to add unit tests, I can cover that.
Closed with #252