]> Sergey Matveev's repositories - public-inbox.git/commit
lei config --edit: use controlling terminal
authorEric Wong <e@80x24.org>
Sun, 19 Sep 2021 12:50:33 +0000 (12:50 +0000)
committerEric Wong <e@80x24.org>
Sun, 19 Sep 2021 19:53:03 +0000 (19:53 +0000)
commit9d0f17840479508de4aaf76fe6c150e94a9f79c3
tree9065f32b760acbb8e4285600e4be01ebe631476a
parent20c940a876728fe91892200dd874dd917cd677ac
lei config --edit: use controlling terminal

As with "lei edit-search", "lei config --edit" may
spawn an interactive editor which works best from
the terminal running script/lei.

So implement LeiConfig as a superclass of LeiEditSearch
so the two commands can share the same verification
hooks and retry logic.
MANIFEST
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiConfig.pm [new file with mode: 0644]
lib/PublicInbox/LeiEditSearch.pm
lib/PublicInbox/LeiExternal.pm
lib/PublicInbox/LeiInit.pm
lib/PublicInbox/LeiSavedSearch.pm
t/lei.t