kyoheiu / felix

tui file manager with vim-like key mapping
https://kyoheiu.dev/felix/
MIT License
708 stars 24 forks source link

feature: migrate to clap (CLI arg parser) #208

Closed doprz closed 10 months ago

doprz commented 1 year ago

Hi,

First of all, great project! I'm curious to hear your thoughts on migrating to clap - A full featured, fast Command Line Argument Parser for Rust

I've used this crate in the past before and it has been pretty helpful. If you're interested in migrating to it, I think that I can create a PR implementing these changes however I wanted to run this by you first.

kyoheiu commented 1 year ago

Thank you for your suggestion.

While clap is amazing, I don't see the need to incorporate it into this project. With only two options (-h and -l), I think using std::env::args to parse arguments is sufficient. If you have specific reasons why clap would be a better choice in this code, I'm open to hearing them.