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

Use first process argument as log-file to open, if only one is supplied and does not start with a dash #756

Open
juwens opened this issue Feb 7, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@juwens
Copy link

juwens commented Feb 7, 2023

Is your feature request related to a problem? Please describe.
i would like to achieve two things:

  • A: open logfile like this: CompactLogViewer.exe C:\Users\foobar\Downloads\my-log.clef
  • B: under windows associate the file extension "clef" with Compact Log Viewer, so that when i doubleclick a file with ".clef"-ending it will be shown in Compact Log Viewer

when i currently do A or B, i just get the regular start-screen with "select or drop a log file"

hint: Setting the association is something i see as the duty of the user. It's not necessary for the application to dive into this rabbit-hole.

Describe the solution you'd like

  • the application interpretes the first argument as a path to a clef file
  • this log-file will then be opened

Describe alternatives you've considered

  • do it the way it is now

Additional context

  • if i find the time, i'll provide a MR, it should be relatively easy
@juwens juwens added the enhancement New feature or request label Feb 7, 2023
@juwens juwens changed the title Use first process argument as log-file to open Use first process argument as log-file to open, if only one is supplied Feb 7, 2023
@juwens juwens changed the title Use first process argument as log-file to open, if only one is supplied Use first process argument as log-file to open, if only one is supplied and does not start with a dash Feb 7, 2023
@mgmiles
Copy link

mgmiles commented Mar 5, 2024

+1 for this enhancement. Much easier to open multiple log file using the command line than finding the log file and then dragging and dropping it.

@mgmiles
Copy link

mgmiles commented Mar 5, 2024

+1 for this enhancement. Much easier to open multiple log file usign the command line than finding the log file and then dragging and dropping it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants