-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redesign command line interface #199
Conversation
This turns "modify" into an alias and "edit" into the main command name for editing contacts.
Both commands are used to edit a file corresponding to a single contact. The functionality of both commands is now subsumed under the "edit" subcommand. Editing the source file is possible with the new option "--format=vcard".
There is one problem with the unification of the different ls subcommands. At least the phone subcommand tries to match the search terms against the phone numbers and not the rest of the card. This makes sense but is harder to unify with the other listing like subcommands. I think I will try to rework the matching of cards first to have a better documented api for matching cards in specific ways. This could also help with implementing something like #131. In conclusion I will leave this PR as is and only add more code in a new PR. |
@scheibler as this feels like a fundamental decision to me and is also user facing I would like to have a short ok/no from you before I proceed. |
@scheibler ping? |
@scheibler ping? |
This is the corresponding PR for #179. Until now the unification of show-export and edit-source is done. The unification of the different ls versions is underway.
I am happy about any feedback.