cql-cli

command module
v0.0.0-...-0dc4617 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MPL-2.0 Imports: 1 Imported by: 0

README

cql-cli

cql-cli is the command line tool that makes it possible to use cql in your project.

Install with go install

For simply installing it, use:

go install github.com/FrancoLiberali/cql/cql-cli

Or you can build it from sources.

Build from sources

Get the sources of the project, either by visiting the releases page and downloading an archive or clone the main branch (please be aware that is it not a stable version).

To build the project:

  • Install go v1.18

  • cd cql-cli

  • Install project dependencies

    go get
    
  • Run build command

    go build .
    

Well done, you have a binary cql-cli at the root of the project.

Commands

You can see the available commands by running:

cql-cli help

For more information about the functionality provided and how to use each command use:

cql-cli help [command]
cql-cli gen conditions

gen conditions is the command you can use to generate conditions to query your objects using cql. For each cql.Model found in the input packages a file containing all possible Conditions on that object will be generated, allowing you to use cql.

Its use is recommended through go generate. To see an example of how to do it visit the quickstart.

Contributing

See this section.

License

cql-cli is Licensed under the Mozilla Public License Version 2.0.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
gen
log

Jump to

Keyboard shortcuts

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