args4j icon indicating copy to clipboard operation
args4j copied to clipboard

Anyone know of a maintained fork of this?

Open GregJohnStewart opened this issue 5 years ago • 7 comments

Love the library and to give it credit, still works well after all this time, but it is starting to fall behind in terms of newer java versions (not to mention all the unaddressed issues here on GitHub).

Anyone know of a fork of this that is maintained and accessible on a maven repo?

I see a bunch of forks, but need the 'on Maven and maintained' part of it. Also willing to fork it myself and get it maintained but would need to get some help (Setting it up with Maven, help finding/ fixing issues, etc. Would just be nice to see a community behind the work).

Apologies to kohsuke that this is put in the issues of the OG repo, but unsure where else to put it. I would love to help maintaining this (original) repo if it seemed like it was still being updated/ accepting pull requests.

GregJohnStewart avatar Apr 25 '19 19:04 GregJohnStewart

I'd be willing to help, I've used this quite a bit over the years and don't know of another CLI library that I prefer. I just came here to log a bug but it does look like it's falling into the abandoned territory.

apj68 avatar May 13 '19 17:05 apj68

I can also put in some work now and then. Ideally without forking if someone could get commit rights to this repo to approve pull requests.

erik-wramner avatar May 31 '19 11:05 erik-wramner

I've migrated to https://picocli.info/. It has a very similar approach compared to args4j:

@Command(name = "checksum", mixinStandardHelpOptions = true, version = "checksum 4.0",
         description = "Prints the checksum (MD5 by default) of a file to STDOUT.")
class CheckSum implements Callable<Integer> {

    @Parameters(index = "0", description = "The file whose checksum to calculate.")
    private File file;

    @Option(names = {"-a", "--algorithm"}, description = "MD5, SHA-1, SHA-256, ...")
    private String algorithm = "MD5";

thomas-mc-work avatar Oct 02 '19 14:10 thomas-mc-work

Yeah, I recently came across picocli, too. I've been using it rather than args4j, it seems to have everything I need and more.

apj68 avatar Oct 02 '19 15:10 apj68

@kohsuke are you still actively maintaining this library?

markkolich avatar Oct 24 '19 00:10 markkolich

@markkolich considering how many times that question has been asked here without an answer the last few years I would say the answer is no.

erik-wramner avatar Oct 24 '19 06:10 erik-wramner

@erik-wramner he has been active in other projects, namely https://github.com/github-api/github-api which is why I was thinking an explicit @-mention was warranted.

markkolich avatar Oct 24 '19 19:10 markkolich