Skip to main content

Module cli

Module cli 

Source
Expand description

Re-export CLI definitions from the shared datui-cli crate.

Modules§

settings
The option registry: every config key in one table, with its type, default, the line that documents it, and the flag that sets it for one run, if one does.

Structs§

Args
Command-line arguments for datui.

Enums§

CacheAction
What datui cache does.
Command
Commands besides opening data.
CompressionFormat
Compression format for data files
ConfigAction
What datui config does.
FileFormat
A format datui reads, as --format names it.
FormatChoice
What --format names: a format datui reads, a format spec on the search path, or a spec’s file.
FormatsAction
What datui formats does besides listing.
InferTypes
What --infer-types asks for.
Lines
How a line of a line-oriented text format is read.
ReadMode
How an open reads a file. See FileFormat::read_mode.
RemoteRead
How a remote object is read.
Stored
How a file sits on disk, where that changes how it is read.
Summary
What the Info panel shows of a file of a format besides its Schema tab.
ViewsAction
What datui views does.

Functions§

completions
The completion script for shell, built from Args, for datui completions.
one_table
Why --table was refused for a file of format (None: not known), which holds one table: the formats whose tables it picks. The reader names the file before it.
parse_args
argv read as the command line is, for a host such as the Python binding that spells its options as flags and -c. The error is clap’s, on one line.