Skip to main content

registry

Command used to interact with the StackQL Provider Registry.


Syntax

stackql registry {subcommand} [{provider} {version}]


Arguments

ArgumentDescriptionExample
subcommandRegistry operation to be performed
(either list or pull)
list or pull
providerProvider to be installed using pull subcommandokta
versionProvider version to be installed using pull subcommand
(StackQL Provider Document Version)
v1

Flags

FlagDescription
-o, --output <outputtype>Output mode, valid values include: table(default) json, csv and text
-i, --infile <filename>Run query from the specified file if required, if specified any query provided
as an argument will be ignored
-q, --iqldata <filename>Source data for the command using a json or jsonnet file
--dryrunDry run flag; preprocessor only will run and output will returned
-i, --infile <filename>Run query from the specified file if required, if specified any query provided
as an argument will be ignored
-f, --outfile <filename>File to output results to if required (default behavior is to output results to the
console only)
-H, --helpPrint help information
-v, --verboseRun queries in verbose mode with additional output sent to stdout,
if the -f option is selected this additional logging information will be written
to the output file along with the query results

see Global Flags for additional options


Examples

List available providers in the public registry:

stackql registry list

Pull a provider from the public registry:

stackql registry pull okta v1