user command groups

SALT, SPICE, Subversion, etc...

user command groups

Postby Phil Last on Sat Nov 03, 2012 11:18 am

all user commands are in groups that we see when entering
      ]+
Group Name Description
===== ==== ===========
SALT Compare Compare versions of 2 files
List List objects or folders
...
Snap Save changes made to the workspace
Samples HelpExample Help Example
sampleA A Sample Command without parsing
...
Is there a way to get the same list for the members of a single group? And what use are groups otherwise?
User avatar
Phil Last
 
Posts: 439
Joined: Thu Jun 18, 2009 6:29 pm

Re: user command groups

Postby DanB|Dyalog on Sat Nov 03, 2012 8:18 pm

Groups are only used to regroup commands together.

To get the list of cmds in a group enter ']?group'

User cmd help goes like this:

To get a list of all the commands found in the current command folder enter ']?'.
To get a one liner help for each command found in the current command folder enter ']?+'.
To get a one liner help for each command found in a specific folder enter ']? \folder'.
Either way will show the commands found in all the Spice files found along with a short description.
To get help on a specific command enter ']? commandname' or ]?? commandname'. The later should
provide more detailed help. See ]?save and ]??save for an example.

To get general help enter ']??' or ']help'

In the current version (available thru the ]uupdate cmd for V13.1 only) you can also get a list of cmds
starting with a prefix as in
]?N* to list all cmds starting with 'N'
DanB|Dyalog
 

Re: user command groups

Postby Phil Last on Sun Nov 04, 2012 1:08 am

Thanks Dan.
      ]?group
is exactly what I wanted but I didn't see it mentioned. I thought I'd tried it on the offchance but I probably spelled it wrong.

Cheers.
User avatar
Phil Last
 
Posts: 439
Joined: Thu Jun 18, 2009 6:29 pm


Return to Source Code Management

Who is online

Users browsing this forum: No registered users and 1 guest