@adzerk/zerkel-cli
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Zerkel Cli

Summary

Simple zerkel validator cli tool that uses the adzerk/zerkel library.

Usage

Cli options available with zerkel --help.

  1. Install the tool with npm install --global @adzerk/zerkel-cli.
  2. Run the command with zerkel validate [expression]
  3. That's it!

Output Format

title: Zerkel Validation Result
oneOf:
  - title: Zerkel Validation Error Result
    required:
      - body
      - result
    properties:
      body:
        title: Body
        type: object
        required:
          - error
          - version
        properties:
          error:
            title: Error
            description: Error information.
            type: string
          version:
            title: Version
            description: Parser version.
            type: string
            pattern: "^[0-9]+\\.[0-9]+\\.[0-9]+$"
      result:
        title: Result
        description: Error result.
        const: error
  - title: Zerkel Validation Successful Result
    required:
      - body
      - result
    properties:
      body:
        title: Body
        type: object
        required:
          - code
          - version
        properties:
          code:
            title: Code
            description: Result information.
            type: string
          version:
            title: Version
            description: Parser version.
            type: string
            pattern: "^[0-9]+\\.[0-9]+\\.[0-9]+$"
      result:
        title: Result
        description: Success result.
        const: success

Readme

Keywords

none

Package Sidebar

Install

npm i @adzerk/zerkel-cli

Weekly Downloads

55

Version

2.0.0

License

Apache-2.0

Unpacked Size

6.03 kB

Total Files

7

Last publish

Collaborators

  • cbensel
  • kevel-ci
  • vkurupkevel
  • schaney
  • kevel-honeycomb-cheesecake
  • keveltron
  • asato-kevel
  • xruialves
  • dreiskevel
  • kevellaurence