Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
0ebeb562
Commit
0ebeb562
authored
Jul 24, 2012
by
fred-o
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
node completion
parent
b49c97e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
_asadmin
plugins/glassfish/_asadmin
+20
-8
No files found.
plugins/glassfish/_asadmin
View file @
0ebeb562
...
@@ -559,13 +559,13 @@ case "$words[1]" in
...
@@ -559,13 +559,13 @@ case "$words[1]" in
_command_args=('--host+:' '--port+:' '--target+:')
_command_args=('--host+:' '--port+:' '--target+:')
;;
;;
delete-node-config)
delete-node-config)
_command_args=('--host+:' '--port+:')
_command_args=('
*:nodes:_asadmin_nodes_config' '
--host+:' '--port+:')
;;
;;
delete-node-dcom)
delete-node-dcom)
_command_args=('--force+:force:(true false)' '--host+:' '--port+:' '--uninstall+:uninstall:(true false)')
_command_args=('
*:nodes:_asadmin_nodes_dcom' '
--force+:force:(true false)' '--host+:' '--port+:' '--uninstall+:uninstall:(true false)')
;;
;;
delete-node-ssh)
delete-node-ssh)
_command_args=('--force+:force:(true false)' '--host+:' '--port+:' '--uninstall+:uninstall:(true false)')
_command_args=('
*:nodes:_asadmin_nodes_ssh' '
--force+:force:(true false)' '--host+:' '--port+:' '--uninstall+:uninstall:(true false)')
;;
;;
delete-password-alias)
delete-password-alias)
_command_args=('--host+:' '--port+:')
_command_args=('--host+:' '--port+:')
...
@@ -889,10 +889,10 @@ case "$words[1]" in
...
@@ -889,10 +889,10 @@ case "$words[1]" in
_command_args=('--appname+:' '--host+:' '--modulename+:' '--port+:' '--target+:')
_command_args=('--appname+:' '--host+:' '--modulename+:' '--port+:' '--target+:')
;;
;;
ping-node-dcom)
ping-node-dcom)
_command_args=('--host+:' '--port+:' '--validate+:validate:(true false)')
_command_args=('
*:nodes:_asadmin_nodes_dcom' '
--host+:' '--port+:' '--validate+:validate:(true false)')
;;
;;
ping-node-ssh)
ping-node-ssh)
_command_args=('--host+:' '--port+:' '--validate+:validate:(true false)')
_command_args=('
*:nodes:_asadmin_nodes_ssh' '
--host+:' '--port+:' '--validate+:validate:(true false)')
;;
;;
recover-transactions)
recover-transactions)
_command_args=('--host+:' '--port+:' '--target+:' '--transactionlogdir+:')
_command_args=('--host+:' '--port+:' '--target+:' '--transactionlogdir+:')
...
@@ -1006,13 +1006,13 @@ case "$words[1]" in
...
@@ -1006,13 +1006,13 @@ case "$words[1]" in
_command_args=('--authrealmname+:' '--groups+:' '--host+:' '--port+:' '--target+:' '--userpassword+:')
_command_args=('--authrealmname+:' '--groups+:' '--host+:' '--port+:' '--target+:' '--userpassword+:')
;;
;;
update-node-config)
update-node-config)
_command_args=('--host+:' '--installdir+:' '--nodedir+:' '--nodehost+:' '--port+:')
_command_args=('
*:nodes:_asadmin_nodes_config' '
--host+:' '--installdir+:' '--nodedir+:' '--nodehost+:' '--port+:')
;;
;;
update-node-dcom)
update-node-dcom)
_command_args=('--force+:force:(true false)' '--host+:' '--installdir+:' '--nodedir+:' '--nodehost+:' '--port+:' '--windowsdomain+:' '--windowspassword+:' '--windowsuser+:')
_command_args=('
*:nodes:_asadmin_nodes_dcom' '
--force+:force:(true false)' '--host+:' '--installdir+:' '--nodedir+:' '--nodehost+:' '--port+:' '--windowsdomain+:' '--windowspassword+:' '--windowsuser+:')
;;
;;
update-node-ssh)
update-node-ssh)
_command_args=('--force+:force:(true false)' '--host+:' '--installdir+:' '--nodedir+:' '--nodehost+:' '--port+:' '--sshkeyfile+:' '--sshkeypassphrase+:' '--sshpassword+:' '--sshport+:' '--sshuser+:')
_command_args=('
*:nodes:_asadmin_nodes_ssh' '
--force+:force:(true false)' '--host+:' '--installdir+:' '--nodedir+:' '--nodehost+:' '--port+:' '--sshkeyfile+:' '--sshkeypassphrase+:' '--sshpassword+:' '--sshport+:' '--sshuser+:')
;;
;;
update-password-alias)
update-password-alias)
_command_args=('--aliaspassword+:' '--host+:' '--port+:')
_command_args=('--aliaspassword+:' '--host+:' '--port+:')
...
@@ -1047,6 +1047,18 @@ _asadmin_nodes() {
...
@@ -1047,6 +1047,18 @@ _asadmin_nodes() {
compadd $(command asadmin list-nodes --terse)
compadd $(command asadmin list-nodes --terse)
}
}
_asadmin_nodes_config() {
compadd $(command asadmin list-nodes-config --terse)
}
_asadmin_nodes_dcom() {
compadd $(command asadmin list-nodes-dcom --terse)
}
_asadmin_nodes_ssh() {
compadd $(command asadmin list-nodes-ssh --terse)
}
compadd '--help'
compadd '--help'
_arguments \
_arguments \
$_command_args \
$_command_args \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment