upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/lib/cli_interactor.rs
AgeCommit message (Collapse)Author
2024-11-25feat(list): report on action selectionDanConwayDev
there was a bug in `Interactor` so that reports were turned off by default for choices. This was embodied into the CLI tests but this turns them on in these scenarios.
2024-11-25fix: restore interactor report defaultDanConwayDev
which should always be true but was defaulting to false when the `dont_report` functions were added
2024-11-25test: fix cli interactor without promptDanConwayDev
reverts a change in f79014235e85554e3661b3f2a02b8fa88bc192ff which caused a subtle change to how choices were displayed that caused the cli tester error when choices without prompts were displayed eg. in `ngit list` tests
2024-11-21feat(login): overhaul login experienceDanConwayDev
* simplify login menu, making it more accessable to newcomers and easier to select remote signer options * enable `ngit login` to work from anywhere (not just a git repo) * assume fresh login details saved to global git config but fallback to local repository * maintain local repository login via `ngit login --local` * maintain login via CLI arguments eg `ngit send --nsec nsec123` * nudge users to remember nsec when pasting in ncryptsec for a better UX, whilst maintaining the option to be prompted for password everytime * create placeholder menu items for help menu and create account
2024-09-24feat(login): login via nip46 QR codeDanConwayDev
or nostrconnect url string which is a much better UX flow for nip46
2024-09-04refactor: organise into lib and bin structureDanConwayDev
the make the code more readable this commit just moves the files, the next commit should fix the imports