Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[skip ci] Use new platform CLI as the main entry point #19994

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/kibana
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ if [ ! -x "$NODE" ]; then
exit 1
fi

NODE_ENV=production exec "${NODE}" $NODE_OPTIONS --no-warnings "${DIR}/src/cli" ${@}
NODE_ENV=production exec "${NODE}" $NODE_OPTIONS --no-warnings "${DIR}/src/core/cli" ${@}
2 changes: 1 addition & 1 deletion bin/kibana.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If Not Exist "%NODE%" (
Exit /B 1
)

"%NODE%" %NODE_OPTIONS% --no-warnings "%DIR%\src\cli" %*
"%NODE%" %NODE_OPTIONS% --no-warnings "%DIR%\src\core\cli" %*

:finally

Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
"whatwg-fetch": "^2.0.3",
"wreck": "12.4.0",
"x-pack": "link:x-pack",
"yargs": "^12.0.1",
"yauzl": "2.7.0"
},
"devDependencies": {
Expand All @@ -222,6 +223,7 @@
"@types/fetch-mock": "^5.12.2",
"@types/getopts": "^2.0.0",
"@types/glob": "^5.0.35",
"@types/hapi": "^13.0.38",
"@types/hapi-latest": "npm:@types/hapi@17.0.12",
"@types/has-ansi": "^3.0.0",
"@types/jest": "^22.2.3",
Expand All @@ -241,6 +243,7 @@
"@types/strip-ansi": "^3.0.0",
"@types/supertest": "^2.0.5",
"@types/type-detect": "^4.0.1",
"@types/yargs": "^11.1.0",
"angular-mocks": "1.4.7",
"babel-eslint": "8.1.2",
"babel-jest": "^22.4.3",
Expand Down Expand Up @@ -336,5 +339,8 @@
"engines": {
"node": "8.11.4",
"yarn": "^1.6.0"
},
"yargs": {
"dot-notation": false
}
}
2 changes: 1 addition & 1 deletion scripts/kibana.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
*/

require('../src/setup_node_env');
require('../src/cli/cli');
require('../src/core/cli');
64 changes: 0 additions & 64 deletions src/cli/cli.js

This file was deleted.

13 changes: 0 additions & 13 deletions src/cli/serve/integration_tests/__fixtures__/invalid_config.yml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

50 changes: 0 additions & 50 deletions src/cli/serve/integration_tests/invalid_config.test.js

This file was deleted.

Loading