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:
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.