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

Feature request: Support common flags -h/--help/ and -v/--version #9

Closed
ristomatti opened this issue Dec 31, 2024 · 4 comments
Closed

Comments

@ristomatti
Copy link

I assume the title says enough. Relates somewhat to #8.

Lifailon added a commit that referenced this issue Jan 6, 2025
@Lifailon
Copy link
Owner

Lifailon commented Jan 6, 2025

@ristomatti Added in last commit:

help:

> go run main.go -h
lazydocker - terminal user interface  for journalctl, file system logs, as well Docker and Podman containers
Source code: https://github.com/Lifailon/lazyjournal

  Flags:
    lazyjournal                Run interface
    lazyjournal --help, -h     Show help
    lazyjournal --version, -v  Show version

version:

> go run main.go -v
Version: 0.7.0
OS: linux Ubuntu 24.04.1 LTS (Noble Numbat)
Arch: amd64
Executable type: source code (/tmp/go-build1694246110/b001/exe/main)
If you have problems with the application, please open issue: https://github.com/Lifailon/lazyjournal/issues

I’m currently testing on different systems, this week I plan to release a release with the latest changes.

@ristomatti
Copy link
Author

Pulled the changes, built and tested. It's nice to be able to check the installed version!

@Lifailon
Copy link
Owner

@ristomatti release has been released, please check the installation of the binary file and close the issue

@ristomatti
Copy link
Author

Can't install the release binary due to running Ubuntu 20.04, but I built from source based on tag 0.7.0. All good!

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

No branches or pull requests

2 participants