benallfree / gobot

Popular binaries via npm. CLI and API.
22 stars 2 forks source link

--g-use-version="~0.21.0" programmatically? #3

Closed VictorioBerra closed 7 months ago

VictorioBerra commented 8 months ago
const bot = gobot("pocketbase");
bot.versions(["~0.21.0"]);

ERROR

/node_modules/gobot/dist/chunk-J5PBB34S.js:461
          throw new Error(`Unknown version format ${type}`);
benallfree commented 8 months ago
const bot = gobot("pocketbase", { version: `~0.21.0` } ).run([`--help`])