1616
1717package org .springframework .boot .cli .command .run ;
1818
19- import java .awt .Desktop ;
2019import java .io .File ;
2120import java .util .List ;
2221import java .util .logging .Level ;
@@ -64,8 +63,6 @@ private static class RunOptionHandler extends CompilerOptionHandler {
6463
6564 private OptionSpec <Void > watchOption ;
6665
67- private OptionSpec <Void > editOption ;
68-
6966 private OptionSpec <Void > verboseOption ;
7067
7168 private OptionSpec <Void > quietOption ;
@@ -75,8 +72,6 @@ private static class RunOptionHandler extends CompilerOptionHandler {
7572 @ Override
7673 protected void doOptions () {
7774 this .watchOption = option ("watch" , "Watch the specified file for changes" );
78- this .editOption = option (asList ("edit" , "e" ),
79- "Open the file with the default system editor" );
8075 this .verboseOption = option (asList ("verbose" , "v" ),
8176 "Verbose logging of dependency resolution" );
8277 this .quietOption = option (asList ("quiet" , "q" ), "Quiet logging" );
@@ -99,10 +94,6 @@ protected synchronized void run(OptionSet options) throws Exception {
9994
10095 SourceOptions sourceOptions = new SourceOptions (options );
10196
102- if (options .has (this .editOption )) {
103- Desktop .getDesktop ().edit (new File (sourceOptions .getSources ().get (0 )));
104- }
105-
10697 List <RepositoryConfiguration > repositoryConfiguration = RepositoryConfigurationFactory
10798 .createDefaultRepositoryConfiguration ();
10899 repositoryConfiguration .add (0 , new RepositoryConfiguration ("local" , new File (
0 commit comments