Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider generating log file if --log-file flag is specified or on failure #153

Open
mqasimsarfraz opened this issue Dec 6, 2023 · 0 comments
Labels
enhancement New feature or request innovation engine

Comments

@mqasimsarfraz
Copy link
Member

Currently when running ie the log file ie.log is generated always irrespective of end result. This works great while user is adding support for ie in a new document but not that useful if we know the execution will be successful. Perhaps it would make sense to only write ie.log in case the execution fails, or user explicitly requests by a flag like --log-file.

→ ie execute tutorial.md 
Welcome to the innovation Engine Tutorial
1. Running simple bash commands
                               
  ✔ export VAR="Hello World"

  
  ✔ echo $VAR

  Hello World
           
2. Test Code block with expected output
                                       
  ✔ echo "Hello \
    world"

  Hello world
           
3. Test Code block matches expected regex
                                         
  ✔ echo "Foo Bar"

  Foo Bar
       
→ ls -la | grep ie.log
-rw-rw-r--  1 qasim qasim  2331 Dez  6 16:16 ie.log
@mbifeld mbifeld added enhancement New feature or request innovation engine labels Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request innovation engine
Projects
Status: 🆕 Backlog
Development

No branches or pull requests

2 participants