From dbb9526b247f1d197ec9a524e34f6ca4c25cdd4a Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 22 Nov 2020 22:15:51 +0100 Subject: commands: add a command to export bugs as raw operations (NDJSON) --- doc/md/git-bug_export.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 doc/md/git-bug_export.md (limited to 'doc/md/git-bug_export.md') diff --git a/doc/md/git-bug_export.md b/doc/md/git-bug_export.md new file mode 100644 index 00000000..df9c9a9b --- /dev/null +++ b/doc/md/git-bug_export.md @@ -0,0 +1,39 @@ +## git-bug export + +Export bugs as a series of operations. + +### Synopsis + +Export bugs as a series of operations. + +You can pass an additional query to filter and order the list. This query can be expressed either with a simple query language, flags, a natural language full text search, or a combination of the aforementioned. + +``` +git-bug export [QUERY] [flags] +``` + +### Examples + +``` +See ls +``` + +### Options + +``` + -s, --status strings Filter by status. Valid values are [open,closed] + -a, --author strings Filter by author + -p, --participant strings Filter by participant + -A, --actor strings Filter by actor + -l, --label strings Filter by label + -t, --title strings Filter by title + -n, --no strings Filter by absence of something. Valid values are [label] + -b, --by string Sort the results by a characteristic. Valid values are [id,creation,edit] (default "creation") + -d, --direction string Select the sorting direction. Valid values are [asc,desc] (default "asc") + -h, --help help for export +``` + +### SEE ALSO + +* [git-bug](git-bug.md) - A bug tracker embedded in Git. + -- cgit