mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-05 02:55:31 +00:00

* feat: Add generic Choice prompt implementation * feat: use ChoicePrompt in user_wants_to_continue method * feat: add "rename" option in ask_to_create_file method * feat: check accessible mode for choises prompt * feat: rename file in "ask_to_create_file" rename action * feat: create "resolve_path" for smart_unpack to deal with rename * feat: use resolve_path instead clear_path in smart_unpack * fix: remove unused clear_path function * chore: cargo fmt * Add docs * refactor: rename "resolve_path" method * chore: fix ChoicePrompt doc * doc: improve doc of resolve_path_conflict * fix: out of bound when type answer bigger than some choice * doc: improve rename_path docs * chore: cargo fmt * chore: revert user_wants_to_continue * fix: update error message when find EOF in choise prompt response * revert: update message error in ChoicePrompt instead Confirmation * test: add overwrite and cancel tests * test: Add rename test with "allow_piped_choice" new feature * cargo fmt * test: create test for autoincrement new renamed files