wrgl export

Print commit content as CSV

wrgl export COMMIT [flags]

Flags

--delimiter

CSV delimiter. Defaults to comma.

-h, --help

help for export

--txid

export commit with specified transaction id. COMMIT must be a branch name.

Inherited flags

--badger-log

set Badger log level, valid options are "error", "warning", "debug", and "info" (defaults to "error")

--cpuprofile

write cpu profile to file

--heapprofile

write heap profile to file

--log-file

output logs to specified file

--log-verbosity

log verbosity. Higher value means more log

--no-progress

don't display progress bar

--wrgl-dir

parent directory of repo, default to current working directory.

Examples

# export latest commit to CSV file
wrgl export my-branch > my_branch.csv

# export commit to CSV file
wrgl export 1a2ed6248c7243cdaaecb98ac12213a7 > my_data.csv