tg-cli icon indicating copy to clipboard operation
tg-cli copied to clipboard

unable to create new network and set the output format

Open ssenecal-modular opened this issue 6 months ago • 0 comments

the command succeeds as long as no --output-format is set. If one is set, then the command fails with the following output:

$> ./tg network create --output-format json test
[ERROR]   Exception: Error: Unknown type "format". Did you mean type "string"?
    at Command.parseType (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:2595:19)
    at Object.parse (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:2584:33)
    at parseValue (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:861:54)
    at parseNext (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:816:34)
    at parseArgs (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:751:13)
    at parseFlags (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:642:21)
    at Command.parseOptions (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:2577:9)
    at Command.parseOptionsAndEnvVars (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:2468:14)
    at eventLoopTick (ext:core/01_core.js:65:7)
    at async Command.parseCommand (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:2414:13)

ssenecal-modular avatar Oct 10 '25 20:10 ssenecal-modular