You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/kosli/listTrails.go
+25-3Lines changed: 25 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ import (
5
5
"fmt"
6
6
"io"
7
7
"net/http"
8
+
"strings"
8
9
9
10
"github.com/kosli-dev/cli/internal/output"
10
11
"github.com/kosli-dev/cli/internal/requests"
@@ -13,7 +14,7 @@ import (
13
14
14
15
constlistTrailsShortDesc=`List Trails of an org.`
15
16
16
-
constlistTrailsLongDesc=listTrailsShortDesc+`The list can be filtered by flow and artifact fingerprint. The results are paginated and ordered from latest to oldest.`
17
+
constlistTrailsLongDesc=listTrailsShortDesc+`The list can be filtered by flow, flow tag and artifact fingerprint. The results are paginated and ordered from latest to oldest.`
17
18
18
19
constlistTrailsExample=`
19
20
# get a paginated list of trails for a flow:
@@ -49,13 +50,30 @@ kosli list trails \
49
50
--fingerprint yourArtifactFingerprint \
50
51
--api-token yourAPIToken \
51
52
--org yourOrgName \
52
-
--output json \
53
+
--output json
54
+
55
+
# get a paginated list of trails across all flows tagged with the provided key-value pair:
0 commit comments