Skip to content

Add wildcard support #6

@hal7df

Description

@hal7df

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions