feature proposal: naming commands and using these names as startup arguments

Asked by Julian Rombach on 2011-05-11

Another proposal to be taken into consideration for a future release.

I'd like to be able to name (not 'describe') a command uniquely, e. g. with "commandname123".

Then I'd like to be able to start clicompanion with that very command name as an argument, so that commandname123 is run right on startup.

This might look like:

$ clicompanion -c commandname123

This would be very, very nice with clicompanion because then it would be able to start other token processes of clicompanion from within running commands, interlacing them, or to start clicompanion and maybe also terminate it from within shell scripts using its capabilities to handle variables.

Question information

Language:
English Edit question
Status:
Answered
For:
CLI Companion Edit question
Assignee:
No assignee Edit question
Last query:
2011-05-13
Last reply:
2012-11-26

Thinking again about it I begin to wonder how amazing this feature would be, because from then on you could use this program, which was meant to be something like a library, as a construction kit for commands, recursively or non recursivly.

The program could partly take over some tasks of traditional scripting.

The usage as assembly set could ensure syntactical integrity which is not afforded by scripting.

You needn't mage a great deal of this feature of a startup argument and some everyday usage it would be invisible anyway.

If you are reluctand to invoke another column just for the names, let's take the desvription as the name (you might keep it short if you like).

Thanks.

Duane Hinnen (duanedesign) said : #2

thank you for the great suggestion
As far as I j now this would be relatively easy to implement, Someone correct me if i am wrong
I will discuss with the team for possible use cases thanks again Keep up the great ideas.
duanw

Can you help with this problem?

Provide an answer of your own, or ask Julian Rombach for more information if necessary.

To post a message you must log in.