Skip to content

Commit

Permalink
add documentation for export command
Browse files Browse the repository at this point in the history
change export command to be unhidden
  • Loading branch information
guy-har committed Nov 12, 2020
1 parent f1ef8fc commit 16d12e5
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cmd/lakectl/cmd/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ import (
)

var exportCmd = &cobra.Command{
Use: "export",
Hidden: true,
Short: "create and manage continuous export",
Long: `Read set and update continuous export configurations and trigger exports`,
Use: "export",
Short: "create and manage continuous export",
Long: `Read set and update continuous export configurations and trigger exports`,
}

// exportGetCmd get continuous export configuration for branch
Expand Down
53 changes: 53 additions & 0 deletions docs/reference/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,59 @@ Global Flags:
````

#### `lakectl export get `
````text
get continuous export configuration for branch
Usage:
lakectl export get <branch uri> [flags]
Flags:
-h, --help help for get
Global Flags:
-c, --config string config file (default is $HOME/.lakectl.yaml)
-f, --force without prompting for confirmation
--no-color don't use fancy output colors (default when not attached to an interactive terminal)
````

#### `lakectl export set `
````text
set continuous export configuration for branch
Usage:
lakectl export set <branch uri> [flags]
Flags:
-h, --help help for set
--path string export objects to this path
--prefix-regex stringArray list of regexps of keys to exported last in each prefix (for signalling)
--status-path string write export status object to this path
Global Flags:
-c, --config string config file (default is $HOME/.lakectl.yaml)
-f, --force without prompting for confirmation
--no-color don't use fancy output colors (default when not attached to an interactive terminal)
````

#### `lakectl export run `
````text
export requested branch now
Usage:
lakectl export run [flags]
Flags:
-h, --help help for run
Global Flags:
-c, --config string config file (default is $HOME/.lakectl.yaml)
-f, --force without prompting for confirmation
--no-color don't use fancy output colors (default when not attached to an interactive terminal)
````
### lakeFS URI pattern

Different CLI and UI operations use `lakefs://` URIs.
Expand Down

0 comments on commit 16d12e5

Please sign in to comment.