Skip to content

Add file options to View CLI add command #3280

@jsimnz

Description

@jsimnz

Currently defradb client view add takes both the view query and view sdl as inline options when creating a new view, however the lens config can be passed in via a file handle -f flag.

We should add the ability to input both the query and the sdl via file handle flags as well.

Only design question in my mind would be if both the query and sdl can/should be within the same file, or as separate files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliRelated to the CLI binaryfeatureNew feature or requestgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions