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

Ability to alias commands, or better yet the "alias" command #12

Open
Skiggz opened this issue Oct 15, 2015 · 1 comment
Open

Ability to alias commands, or better yet the "alias" command #12

Skiggz opened this issue Oct 15, 2015 · 1 comment

Comments

@Skiggz
Copy link
Owner

Skiggz commented Oct 15, 2015

I want to create a way for users to call jira alias new and create aliases and then jira alias my-alias to use them.

Creating an alias will work very similarly to unix alias, you pick a command and args and it will almost be a replacement of what you type, minus the whole alias command part

Reason being, there is so much custom stuff in jira it's hard to add some commands that just work for everybody (like searches) since statuses etc.. can be different.

Example usage:

jira alias new my-alias

Input command name

lookup
input command args
assignee = foobar AND blah == custom_value
Alias my-alias created

Run jira alias my-alias and it would actually run jira lookup assignee = foobar AND blah == custom_value

I might also alias "a" so you can do jira a foo since typing alias is long and the point is to make it quick

@Skiggz
Copy link
Owner Author

Skiggz commented Oct 16, 2015

Keep in mind, those using, you can always create your own OS alias for commands so this will probably be a low priority feature.

ex in linx you could add something to your bash profile like: alias stories='jira me' then just type stories. This can be done for any search criteria or tweaked commands since most support searching

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