Skip to content

CLI Support for Field Formatters in Export Commands #11520

@MarcTM01

Description

@MarcTM01

Is your suggestion for improvement related to a problem? Please describe.
I enjoy using JabRef to manage my references and extensively use features such as ranking, grouping, or adding comments to help organize my library. However, I sometimes work on projects where I do not want all this meta information to end up in the published references file.

Currently, this is partially supported through the "Quality -> Cleanup Entries" feature, but the required workflow is cumbersome:

  1. Create a copy of the database (using the create subdatabase feature)
  2. Open the new database
  3. Open the Cleanup Entries Window
  4. Configure it accordingly
  5. Execute cleanup

Describe the solution you'd like
I would greatly prefer a CLI-based solution that I can seamlessly integrate into my workflow. On first look, JabRef already supports serializing and parsing Field Formatters (FieldFormatterCleanups.java). However, this functionality does not seem to be accessible via the CLI. Therefore, I propose adding a CLI option fieldFormatters that you can use to specify formatters you want applied when exporting via the CLI. As exporting seems to be handled on a per-command basis, I would start by integrating it with the AUX export command.

Additional context
Although I haven't yet contributed to JabRef, I'm eager to implement this feature (or a variant of it) myself. I'm reaching out to you to seek feedback and understand if such a contribution would be welcomed.

Metadata

Metadata

No fields configured for feature.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions