@@ -279,7 +279,8 @@ public String help(String command) {
279279 help (command , Collections .emptyList ());
280280 }
281281
282- public String apiBasePath (String apiBasePath , List <String > help ) {
282+ public String repo (String apiBasePath , List <String > help ) {
283+ this .counter ++;
283284 if (!help .isEmpty ()) {
284285 return SysMLInteractiveHelp .getApiBasePathHelp ();
285286 }
@@ -288,9 +289,15 @@ public String apiBasePath(String apiBasePath, List<String> help) {
288289 setApiBasePath (apiBasePath );
289290 }
290291
291- return getApiBasePath ();
292+ return getApiBasePath () + " \n " ;
292293 }
293294
295+ public String repo (String command ) {
296+ return "-h" .equals (command )?
297+ repo (null , Collections .singletonList ("true" )):
298+ repo (command , Collections .emptyList ());
299+ }
300+
294301 public String eval (String input , String targetName , List <String > help ) {
295302 if (Strings .isNullOrEmpty (input )) {
296303 this .counter ++;
@@ -783,6 +790,8 @@ public void run() {
783790 }
784791 } else if ("%projects" .equals (command )) {
785792 System .out .print (this .projects (argument ));
793+ } else if ("%repo" .equals (command )) {
794+ System .out .print (this .repo (argument ));
786795 } else if ("%publish" .equals (command )) {
787796 if (!"" .equals (argument )) {
788797 System .out .print (this .publish (argument ));
0 commit comments