All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.jy2.commandline.picocli.member.MemberCleanupCommand Maven / Gradle / Ivy

There is a newer version: 0.0.39
Show newest version
package com.github.jy2.commandline.picocli.member;

import com.github.jy2.commandline.picocli.Main;

import picocli.CommandLine.Command;
import picocli.CommandLine.ParentCommand;

@Command(name = "cleanup", description = "Cleaning up stale node registration information on the ROS Master ")
public class MemberCleanupCommand implements Runnable {

	@ParentCommand
	MemberCommand parent;

	public void run() {
		System.out.println("Cleaning up stale members");
		Main.di.getMasterClient().memberCleanup();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy