getVersionCommand function
Implementation
Future<String> getVersionCommand(
ExecuteCommandFunction executeShellCommand) async {
final out = await executeShellCommand(ExecuteCommandInput(
command: "fig",
args: ["--version"],
));
final stdout = out.stdout;
return stdout.substring(stdout.indexOf(" ") + 1).trim();
}