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

Add wildcard support #6

Open
hal7df opened this issue Oct 27, 2016 · 0 comments
Open

Add wildcard support #6

hal7df opened this issue Oct 27, 2016 · 0 comments

Comments

@hal7df
Copy link
Owner

hal7df commented Oct 27, 2016

Allow the end user to use wildcards on the command line, but also allow the programmer to create aliases that use wildcards. This should conform to the basic bash wildcard syntax; but all that should be immediately implemented are the following two wildcards:

  • * to match a number of characters
  • ? to match a single character

Ideally, this is provided in two forms:

  • For the commandline, which takes the wildcard input and matches it against files in the current working directory
  • For client-specified command aliases, which provides additional functionality to convert special alias rules into regularly-formatted commands
    • For example, the alias f(?) would map to something like f -x $1, where $1 is the first wildcard match in the alias
@hal7df hal7df added this to the Confirmed milestone Oct 27, 2016
@hal7df hal7df modified the milestones: Confirmed, v0.5.0 Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant