Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for text output #6

Open
rhamzeh opened this issue Jun 9, 2023 · 0 comments
Open

Add support for text output #6

rhamzeh opened this issue Jun 9, 2023 · 0 comments
Labels
enhancement New feature or request on-hold On Hold - Not ready yet

Comments

@rhamzeh
Copy link
Member

rhamzeh commented Jun 9, 2023

We'd like to support a text output, it should be the default and if --output=json is passed, we'd toggle to JSON.

The responses should be:

  • Create Store: Store <ID> successfully created.
  • List Stores:
id, name, created_at, updated_at
<store_id>, <store_name>, <created_at>, <updated_at>
  • Get Store:
id : <store_id>,
name: <store_name>,
created_at: <created_at>,
updated_at: <updated_at>,
deleted_at: <deleted_at>
  • Delete Store: Store <ID> successfully deleted.

  • List Models:

// Model ID : <ID>, // Model : <JSON>
  • Write Model
Model <ID> successfully created.
Model: <JSON>
  • Get Model
<JSON>
  • Write: Tuple successfully added
  • Delete: Tuple successfully deleted
  • Read:
user, relation, object, date created
<user>, <relation>, <object>, <timestamp>
  • Read Changes:
Tuple <tuple in tuple format> ADDED at <timestamp>.
  • Check: Allowed : True | False
  • List Objects:
<object_type>:<object_id>
<object_type>:<object_id>
<object_type>:<object_id>
<object_type>:<object_id>
  • List Relations:
relation1
relation2
@rhamzeh rhamzeh added enhancement New feature or request iter-01 First Iteration labels Jun 9, 2023
@rhamzeh rhamzeh modified the milestone: v0.0.1 - Initial Release Jul 5, 2023
@rhamzeh rhamzeh added on-hold On Hold - Not ready yet and removed iter-01 First Iteration labels Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request on-hold On Hold - Not ready yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant