You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a GroupCommand which contain another list of GroupComamnds. For example:
A command named "module" with sub commands "tag" and "project". The tag and project command each have the sub commands add and delete:
module
module tag add
module tag delete
module project add
module project delete
Now I want to implement the possibilty to enter in a sub command mode by typing the group command name. In this sub command mode only the the sub commands of the inner group command are available. I hope the following example clarifies what I mean:
I want to share some variable information among all commands, comparable to environment variables in bash. I've found the ExportCommand but I'm not sure if it is ready to use and how to use it. Another way seems to be a CustomCommandInvocation. What is the best way?
Thanks in advance,
Theo
The text was updated successfully, but these errors were encountered:
Hi @theoweiss, this was an interesting idea I haven't thought of tbh. I have to have a look to see how we can do this in æsh. I haven't done anything like this before, but it should be possible I think.
Hi,
I have two questions concerning the api.
A command named "module" with sub commands "tag" and "project". The tag and project command each have the sub commands add and delete:
Now I want to implement the possibilty to enter in a sub command mode by typing the group command name. In this sub command mode only the the sub commands of the inner group command are available. I hope the following example clarifies what I mean:
Which is the best way to achieve this with aesh?
Thanks in advance,
Theo
The text was updated successfully, but these errors were encountered: