Skip to content
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

Set data types #51

Closed
l3nz opened this issue Nov 15, 2018 · 3 comments
Closed

Set data types #51

l3nz opened this issue Nov 15, 2018 · 3 comments
Labels
starter issue Good for newcomers

Comments

@l3nz
Copy link
Owner

l3nz commented Nov 15, 2018

Sometimes you have a given set of string values that are the only available options.

We want to:

  • display the allowed set on help
  • cast the string to a keyword
OPTIONS:
   -k, --kind S*         Kind of mailing: (:Q :Q-REN :Q-UPG)

@l3nz l3nz added the starter issue Good for newcomers label Nov 15, 2018
@l3nz
Copy link
Owner Author

l3nz commented Dec 21, 2018

We also want to accept the string as a kw :X or just X.

@l3nz
Copy link
Owner Author

l3nz commented Dec 31, 2018

Also, it would be nice to do a Levenshthein search and return candidates.

l3nz pushed a commit that referenced this issue Jan 1, 2019
@l3nz
Copy link
Owner Author

l3nz commented Jan 1, 2019

Now sets work effectively. See https://github.com/l3nz/cli-matic/blob/master/examples/sets.clj

@l3nz l3nz closed this as completed Jan 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
starter issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant