Fetch Describe files from the database. Save those files to the _downloads folder of the SparkCli, creating a new folder with a timestamp for the result of the execution.

For example, user that runs : php spark.php jsons-download
will get a folder with a file : _downloads\20260706-221700-jsons-download, full of .json files

Command Syntax

jsons-download [max=INT][PRESENTATION_FLAGS]
max - The number of the maximum JSON files to download.
PRESENTATION_FLAGS - common presentation flags for the SparkCli.
For more info on presentation flags, check the Presentation flags manual.

Examples

php spark.php jsons-download
Download all the compiled JSON files from the database.

php spark.php jsons-download max=10
Download the first 10 compiled JSON files in the database.

php spark.php jsons-download theme=DEFAULT
Download all the compiled JSON files from the database, with presentation flags.

php spark.php jsons-download -hb theme=DEFAULT
Download all the compiled JSON files from the database, with presentation flags.

php spark.php jsons-download -auto -hb theme=DEFAULT
Download all the compiled JSON files from the database, with presentation flags.

Back