-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -244,3 +244,4 @@ Contributors: | |
- Andres Täht <[email protected]> | ||
- Rene Saarsoo <[email protected]> | ||
- Jordi Petit <[email protected]> | ||
- Raphaël Parrëe <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -244,3 +244,4 @@ URL: https://highlightjs.org/ | |
- Андрес Тахт <[email protected]> | ||
- Рене Саарсо <[email protected]> | ||
- Джорди Петит <[email protected]> | ||
- Рафаэль Паре <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
Language: jboss-cli | ||
Author: Raphaël Parrëe <[email protected]> | ||
Description: language definition jboss cli | ||
Category: config | ||
*/ | ||
|
||
function (hljs) { | ||
var PARAM = { | ||
begin: /[\w-]+ *=/, returnBegin: true, | ||
relevance: 0, | ||
contains: [{className: 'attr', begin: /[\w-]+/}] | ||
}; | ||
var PARAMSBLOCK = { | ||
className: 'params', | ||
begin: /\(/, | ||
end: /\)/, | ||
contains: [PARAM], | ||
relevance : 0 | ||
}; | ||
var OPERATION = { | ||
className: 'function', | ||
begin: /:[\w\-.]+/, | ||
relevance: 0 | ||
}; | ||
var PATH = { | ||
className: 'string', | ||
begin: /\B(([\/.])[\w\-.\/=]+)+/, | ||
}; | ||
var COMMAND_PARAMS = { | ||
className: 'params', | ||
begin: /--[\w\-=\/]+/, | ||
}; | ||
return { | ||
aliases: ['wildfly-cli'], | ||
lexemes: '[a-z\-]+', | ||
keywords: { | ||
keyword: 'alias batch cd clear command connect connection-factory connection-info data-source deploy ' + | ||
'deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls ' + | ||
'patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias ' + | ||
'undeploy unset version xa-data-source', // module | ||
literal: 'true false' | ||
}, | ||
contains: [ | ||
hljs.HASH_COMMENT_MODE, | ||
hljs.QUOTE_STRING_MODE, | ||
COMMAND_PARAMS, | ||
OPERATION, | ||
PATH, | ||
PARAMSBLOCK | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
jms-queue add --queue-address=myQueue --entries=queue/myQueue | ||
|
||
deploy /path/to/file.war | ||
|
||
/system-property=prop1:add(value=value1) | ||
|
||
|
||
|
||
/extension=org.jboss.as.modcluster:add | ||
|
||
./foo=bar:remove | ||
|
||
/subsystem=security/security-domain=demo-realm/authentication=classic:add | ||
|
||
/subsystem=security/security-domain=demo-realm/authentication=classic/login-module=UsersRoles:add( \ | ||
code=UsersRoles, \ | ||
flag=required, \ | ||
module-options= { \ | ||
usersProperties=auth/demo-users.properties, \ | ||
rolesProperties =auth/demo-roles.properties, \ | ||
hashAlgorithm= MD5, \ | ||
hashCharset="UTF-8" \ | ||
} \ | ||
) |