Allow executable name input in starter_cmd

Tab-complete gives the executable name, so this will allow you
to not have to mamually type in the app name

Change-Id: I34295a4035608315be7afbaf79c188ee629ada74
diff --git a/aos/starter/starter_rpc_lib.h b/aos/starter/starter_rpc_lib.h
index 24c757e..7d6de873 100644
--- a/aos/starter/starter_rpc_lib.h
+++ b/aos/starter/starter_rpc_lib.h
@@ -16,6 +16,11 @@
 const aos::starter::ApplicationStatus *FindApplicationStatus(
     const aos::starter::Status &status, std::string_view name);
 
+// Checks if the name is an executable name and if it is, it returns that
+// application's name, otherwise returns name as given
+std::string_view FindApplication(const std::string_view &name,
+                                 const aos::Configuration *config);
+
 // Sends the given command to the application with the name name. Creates a
 // temporary event loop from the provided config for sending the command and
 // receiving back status messages. Returns true if the command executed
@@ -33,8 +38,8 @@
 
 // Fetches the entire status message of starter. Creates a temporary event loop
 // from the provided config for fetching.
-std::optional<const aos::FlatbufferVector<aos::starter::Status>> GetStarterStatus(
-    const aos::Configuration *config);
+std::optional<const aos::FlatbufferVector<aos::starter::Status>>
+GetStarterStatus(const aos::Configuration *config);
 
 }  // namespace starter
 }  // namespace aos