mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-11 15:13:06 +08:00
9 lines
242 B
JavaScript
9 lines
242 B
JavaScript
module.exports.getOptions = (flags) => {
|
|
const options = { config: composeFile, log: true };
|
|
if (flags != null && typeof flags == "string" && flags.length > 0) {
|
|
options["commandOptions"] = flags.split(" ");
|
|
}
|
|
|
|
return options;
|
|
};
|