ReleasePackerDartBuild.fromArgs constructor
Creates a command from the dart build args: [subcommand, ...].
The arguments are kept as is, including for cli: see
ReleasePackerDartBuildCli for the default --output.
Implementation
factory ReleasePackerDartBuild.fromArgs(List<String> args) {
if (args.isEmpty) {
throw ArgumentError("Empty `dart build` subcommand!");
}
return ReleasePackerDartBuild(args.first, args.sublist(1));
}