Skip to content

CLI parameter --version to show version #339

Closed

Description

@bnichell

It could be helpful to add a CLI parameter, which logs the ABAP cleaner version to stdout.
This could be interesting for instance in CI, when it needs to be confirmed that the existing ABAP cleaner has the required version.
The parameter could be provided as --version and -v

Activity

  1. changed the title [-]CLI parameter to show version[/-] [+]CLI parameter `--version` to show version[/+] on Jul 10, 2024
  2. self-assigned this
    on Dec 12, 2024
  3. jmgrassau commented on Dec 12, 2024

    @jmgrassau
    Member

    Hi Benedikt,

    thanks for the idea, I now enhanced it accordingly! An example would be

    > .\abap-cleanerc.exe --version
    ABAP cleaner 1.20.2.202412121537
    

    We currently only have words as parameters, so I hope --version is fine without the short form -v?

    Kind regards,
    Jörg-Michael

  4. bnichell commented on Dec 12, 2024

    @bnichell
    Author

    Sure, that is great.
    Thank you very much!

  5. jmgrassau commented on Dec 16, 2024

    @jmgrassau
    Member

    Hi Benedikt,

    thanks for the idea! This parameter should now be available with version 1.21.0, which was just released!

    Kind regards,
    Jörg-Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions