Skip to content

unable to create new network and set the output format #19

@ssenecal-modular

Description

@ssenecal-modular

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions