Details
-
Type:
Feature Request
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 1.0.0.Alpha4
-
Fix Version/s: 1.0.0.Beta3
-
Component/s: UI - Shell
-
Labels:None
Description
It should be possible to create aliases:
$ alias foo="echo bar"
|
Alias by itself should print a list of aliases:
$ alias
|
$ foo="echo bar"
|
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?
$ alias foo="bar"
|
$ echo foo
|
bar
|
Etc...
This can utilize
org.jboss.forge.shell.spi.CommandInterceptor
to perform translations.