Registry / devops / gomtm-cli

gomtm-cli

JSON →
library0.8.2808jsnpmunverified

A CLI tool for interacting with the GoMTM platform. Version 0.8.2808 is the current stable release. It appears to be a command-line interface, but no detailed documentation or usage examples are provided in the readme. Likely used for automation or management tasks. Release cadence is unknown.

npm install gomtm-cli
INSTALL
IMPORT
SIG · GOMTM-CLI
G
gomtm-cli
devopsjavascriptv0.8.2808
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import gomtm from 'gomtm-cli'
const gomtm = require('gomtm-cli')
ESM-only package.
GomtmClient
import { GomtmClient } from 'gomtm-cli'
import GomtmClient from 'gomtm-cli'
Named export.
GomtmConfig
import { GomtmConfig } from 'gomtm-cli'
import { GomtmConfig } from 'gomtm-cli/gomtmConfig'
Type export for configuration.

Initializes the GoMTM client and runs a task, using environment variable for API key.

import gomtm from 'gomtm-cli'; async function main() { const client = await gomtm.init({ apiKey: process.env.API_KEY ?? '' }); const result = await client.run('task-name', { param: 'value' }); console.log(result); } main().catch(console.error);
gomtm --version
Debug
Known issues
gotchaPackage is poorly documented; the readme is just the package name. Use with caution.
fix
Review the source code or contact the maintainer for usage details.
affects: >=0.0.0
breakingVersion 0.8.x may have breaking changes from 0.7.x due to major version bump pattern. No changelog provided.
fix
Pin to specific version and test thoroughly before upgrading.
affects: >=0.8.0
gotchaAssume ESM-only; require() will fail if package uses ES modules.
fix
Use import syntax and set type: module in package.json, or use dynamic import in CJS.
affects: >=0.8.0
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module /path/to/node_modules/gomtm-cli/index.js not supported.
Using CommonJS require() on an ESM-only package.
fix
Switch to import or use dynamic import() in CommonJS files.
TypeError: gomtm.init is not a function
Using default import incorrectly or the package does not export init as default.
fix
Check the package exports; try import { init } from 'gomtm-cli' if default is undefined.
Upgrade
Version history
0.8.2808latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
gomtm-cli — npm install gomtm-cli · libregistry