spicedb-dsl-validator

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

SpiceDB Schema Parser & Validator CLI Tool

spicedb-dsl-validator is a CLI tool which parse and validate SpiceDB schema.

About SpiceDB

SpiceDB is an open source, Google Zanzibar-inspired database for creating and managing security-critical application permissions.

Build

make binary

Linux

make binary/linux

Darwin

make binary/darwin

Windows

make binary/windows

Test

make test

Usage

Parsed Correctly

./spicedb-dsl-validator parse --file-path cmd/tests/empty.zed 

Broken schema

./spicedb-dsl-validator parse --file-path  cmd/tests/broken.zed
 Complied error: parse error in `schema`, line 1, column 1: Expected end of statement or definition, found: TokenTypeError

Documentation

Overview

Copyright © 2023 Abhishek Koserwal

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL