Skip to content

Commit

Permalink
Merge pull request #1172 from garlick/kvs_ls
Browse files Browse the repository at this point in the history
kvs: add flux kvs ls subcommand
  • Loading branch information
chu11 authored Aug 30, 2017
2 parents 6da40cb + 3854952 commit 2eb43ea
Show file tree
Hide file tree
Showing 6 changed files with 521 additions and 9 deletions.
8 changes: 8 additions & 0 deletions doc/man1/flux-kvs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ Retrieve the value stored under 'key'. If nothing has been stored under
Store 'value' under 'key' and commit it. If it already has a value,
overwrite it.

*ls* [-R] [-d] [-F] [-w COLS] [-1] ['key' ...]::
Display directory referred to by _key_, or "." (root) if unspecified.
Options are roughly equivalent to a subset of ls(1) options.
'-R' lists directory recursively. '-d' displays directory not its contents.
'-F' classifies files with one character suffix (. is directory, @ is symlink).
'-w COLS' sets the terminal width in characters. '-1' causes output to be
displayed in one column.

*dir* [-R] [-d] ['key']::
Display all keys and their values under the directory 'key'.
If 'key' does not exist or is not a directory, display an error message.
Expand Down
1 change: 1 addition & 0 deletions src/cmd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ AM_CPPFLAGS = \
$(ZMQ_CFLAGS)

fluxcmd_ldadd = \
$(top_builddir)/src/common/libkvs/libkvs.la \
$(top_builddir)/src/common/libflux-internal.la \
$(top_builddir)/src/common/libflux-core.la \
$(top_builddir)/src/common/libflux-optparse.la \
Expand Down
Loading

0 comments on commit 2eb43ea

Please sign in to comment.