Jarrod Johnson
9304b41a12
Generic tab completion after generic noderange
...
Commands that go further than the noderange should
switch to generic completion for lack of a better
idea.
2020-07-24 14:35:54 -04:00
Jarrod Johnson
159d01b690
Update client for floppy
...
Update documentation and tab completion.
2020-07-01 09:00:33 -04:00
Jarrod Johnson
98008e409f
Fix osdeploy tab completion
2020-06-25 10:41:58 -04:00
Jarrod Johnson
021591017c
Fix osimagetab completion
2020-05-22 09:03:02 -04:00
Jarrod Johnson
51bc7dc88f
Add nodedeploy command
...
This is akin to rinstall, but with
better tab completion and such
2020-05-20 16:21:08 -04:00
Jarrod Johnson
72a5f37232
Fix mid-line command completion
...
Use COMP_CWORD instead of -1 to dynamically decide where to
do completion and what candidates to offer
2019-10-24 15:27:17 -04:00
Jarrod Johnson
c3176ab86a
Add blink and identify reporting to redfish
2019-08-05 16:22:50 -04:00
Jarrod Johnson
da82fef0cb
Have nodelist use nodeattrib completion
...
Since nodelist may also show attribute values, use same completion function.
2019-07-19 14:22:19 -04:00
Jarrod Johnson
2db01746d5
Support deletion of licenses from XCC
2019-06-19 16:35:24 -04:00
Jarrod Johnson
208be0beef
Implement nodelicense save
...
Add ability to save licenses from
the XCC.
2019-06-19 15:43:45 -04:00
Jarrod Johnson
4a094f669e
Do not break for zsh users
...
The completion functionality shall be skipped
unless the shell is bash specifically.
2019-06-05 14:27:08 -04:00
Jarrod Johnson
0a816acf4f
Add completion for attributes in node*attrib
...
Make some of the tedium of the long attribute names bearable
through tab completion.
2019-04-15 13:38:56 -04:00
Jarrod Johnson
5b7807fe3d
Add nodelicense command
...
This provides Bash access to the license management features.
2019-01-14 16:02:15 -05:00
Jarrod Johnson
6efb8ff1b7
Add globbing protection to nodestorage command
...
This mitigates risk of mistargeting a nodestorage command due to
unfortunate bash glob match.
2018-11-15 16:15:01 -05:00
Jarrod Johnson
f9055a258e
Provide specific completion behavior for noderun/nodeshell
2018-10-23 09:09:03 -04:00
Jarrod Johnson
5baab5bef4
Add more stateful to completion
...
Allow it to sense words already used in command. Refactor to common
code for similar ones.
2018-10-08 10:47:38 -04:00
Jarrod Johnson
15dc4937ee
Add hyphen options to various completion
2018-10-02 14:44:25 -04:00
Jarrod Johnson
99fdb20f87
Add nodemedia specific completion
2018-09-21 14:22:46 -04:00
Jarrod Johnson
60bb4c89fb
Add specific completions for nodeboot and nodesetboot
2018-09-21 14:09:49 -04:00
Jarrod Johnson
5d52fd2fc1
Add nodeidentify specific completion
...
Additionally refactor common code into a function
2018-09-21 13:54:43 -04:00
Jarrod Johnson
44bf2872b7
Provide more tailored completion for some commands
...
Additionally, modify the nodefirmware command to have a `list`
subcommand, so that tab completion doesn't aggressively send
someone to update.
2018-09-21 09:57:17 -04:00
Jarrod Johnson
c209010126
Add tab completion for bash
...
For interactive bash use, have some completions
2018-09-20 16:02:45 -04:00
Jarrod Johnson
af82e868d2
Alter nodemedia command
...
Add the glob protection and have attach do a list after.
2018-01-17 10:06:05 -05:00
Jarrod Johnson
16297b048f
Add nodegroupdefine and nodegroupremove
...
With these, a user can noow largely ignore confetty for most
abosuletly universal functions.
2017-11-14 16:05:03 -05:00
Jarrod Johnson
43c5ecd6ae
Fix missing aliases
2017-11-14 15:16:58 -05:00
Jarrod Johnson
78dea26d06
Switch glob suppression to detection
...
The suppression was unable to be accomplished for bash without
somehow otherwise breaking the shell. zsh and csh could be better at
one-off glob disabling though.
2017-11-13 11:49:40 -05:00
Jarrod Johnson
65bcb8a35b
Add glob supressing aliases for new commands
...
Also, document what they are for the curious.
2017-11-03 16:59:27 -04:00
Jarrod Johnson
e4186841b4
Correct the stub functions to work
2017-06-22 15:50:24 -04:00
Jarrod Johnson
1526a9b92d
Add functions to stub out globbing
...
noderanges use [], and bash can do undesirable things.
Since these commands by and large do not reference files,
or at least files likely to be globbed, disable globbing.
2017-06-22 15:42:30 -04:00
Jarrod Johnson
e0cc67f57a
Implement Lenovo Thinksystem and discovery support
2017-06-20 14:56:24 -04:00
Jarrod Johnson
258e257939
Have confluent client do default path
...
When installing package, put a profile.d change
such that confluent is in the default path.
2015-10-12 17:00:40 -04:00