Closed Vlix closed 10 months ago
Thanks, I'll try to take a look at this in the next couple of days.
Maybe @blackheaven would want to review this as well?
Also, I'm wondering if it's even necessary to publish
password-cli
to hackage.com 🤔 It's only an executable, and hackage is for libraries. It being in the repo is good enough for anyone who'd like to build it, right?
IIUC, it's the easiest way to make it available to everyone (cabal install
and nixpkgs).
@blackheaven Do you know of other executables on hackage that only have an executable
stanza in their cabal
file?
It's only an executable, and hackage is for libraries. It being in the repo is good enough for anyone who'd like to build it, right?
I think this is generally a (widely-held) misconception. Hackage is for distributing both libraries and standalone executables.
Like @blackheaven said, there are a few Linux distros that have automation around packaging/distributing Haskell packages from Hackage. But Haskell packages that aren't on Hackage don't benefit from this automation. As far as I know, Nixpkgs and OpenSUSE both fall into this category.
I was wondering what the highlight code for console
was. bash
didn't quite do the same :sweat_smile: so I kept it plain text.
Added a bunch of documentation, help strings and restructured the internals a bit.
@cdepillabout Take your time reviewing this. There's no rush.
Also, I'm wondering if it's even necessary to publish
password-cli
to hackage.com :thinking: It's only an executable, and hackage is for libraries. It being in the repo is good enough for anyone who'd like to build it, right?Should we maybe add the fact that there IS a CLI to the
password/README
and link to the repo in there? (When we're happy with the state of the CLI, of course)