CLI
Run Dubnium functions from your command-line!
Last updated
Run Dubnium functions from your command-line!
Dubnium CLI comes with all v2 versions
npm i dubnium@latestsudo npm i dubnium@latest -gIf you installed it globally
dubnium <command>If you installed it in your project
npx dubnium <command>Commands are similar to the API. If you want to call a function on a Record, do not put get().func(). Instead, make the command just func and put the Record's tag as the first arg when prompted.

The CLI will ask for a few values, and then the method will be run and the return value is logged to the console.
Make sure the command is present when you run the file.
Last updated
node index.js <command>require("dubnium/cli")