[forge-dev] [JBoss JIRA] Commented: (SEAMFORGE-257) Add ability to alias commands (like bash)
Lincoln Baxter III (JIRA)
jira-events at lists.jboss.org
Tue Jul 19 16:26:24 EDT 2011
[ https://issues.jboss.org/browse/SEAMFORGE-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615261#comment-12615261 ]
Lincoln Baxter III commented on SEAMFORGE-257:
----------------------------------------------
This can utilize
org.jboss.forge.shell.spi.CommandInterceptor
to perform translations.
> Add ability to alias commands (like bash)
> -----------------------------------------
>
> Key: SEAMFORGE-257
> URL: https://issues.jboss.org/browse/SEAMFORGE-257
> Project: Seam Forge
> Issue Type: Feature Request
> Components: Shell
> Affects Versions: 1.0.0.Alpha4
> Reporter: Lincoln Baxter III
>
> It should be possible to create aliases:
> {code}$ alias foo="echo bar"{code}
> Alias by itself should print a list of aliases:
> {code}$ alias
> $ foo="echo bar"{code}
> Aliases should simply be literal translations via regex on the front of any command, should we support embedded aliases? For modifying any part of a command?
> {code}$ alias foo="bar"
> $ echo foo
> bar{code}
> Etc...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-dev
mailing list