Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Add version number to format.js and trivadis_custom_format.arbori #179

@PhilippSalvisberg

Description

@PhilippSalvisberg

Version number

Should match the version number of a release. E.g. 24.1.0, 24.1.0, 24.1.2.

Development version should have a "-SNAPSHOT" suffix and the version number should be the one of the next expected release. We assume that this will be always a bugfix.

trivadis_custom_format.arbori

The formatter settings are copied to other repositories. The XML file will most probably changed to reflect the preferences of the target project and not updated when a new formatter version is available. However, the Arbori program will probably left unchanged. Therefore a version would help to identify an Arbori program.

format.js

The JavaScript can be run as script or command in SQLcl and can be wrapped in a standalone executable. Especially when wrapped in a standalone executable a version number is an important identification feature, because the format.js is hidden in the JAR file or not visible in the native image. Making the version number visible in the help screen should be enough. However, a -version option would be nice.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions