Skip to content

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

Open
@juwens

Description

@juwens

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions