Remove job command and use command info from sdk

This commit is contained in:
Chris Roberts 2022-02-09 16:56:11 -08:00 committed by Paul Hinze
parent 3eec2a20ea
commit efd4df030d
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -275,7 +275,7 @@ message Project {
}
message Box {
// Internal ID of the box
// Internal ID of the box
string id = 1;
// This is the provider that this box is built for.
@ -752,7 +752,7 @@ message Job {
message InitResult {
repeated Action actions = 1;
repeated Command commands = 2;
repeated sdk.Command.CommandInfo commands = 2;
repeated Hook hooks = 3;
}
@ -773,27 +773,6 @@ message Job {
}
}
message Flag {
string long_name = 1;
string short_name = 2;
string description = 3;
string default_value = 4;
Type type = 5;
enum Type {
STRING = 0;
BOOL = 1;
}
}
message Command {
string name = 1;
string synopsis = 2;
string help = 3;
repeated Flag flags = 4;
repeated Command subcommands = 5;
}
message RunOp {
Task task = 1;
}