Crypto CLI
    Preparing search index...

    Function emit

    • Write a result to stdout: one line of JSON when json is set, else the human-readable text.

      Parameters

      • io: CliIO

        The streams of the run.

      • json: boolean

        Whether --json was given.

      • data: unknown

        The machine-readable result.

      • text: string

        The human-readable rendering of data.

      Returns void