mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-09-13 06:59:07 +00:00
Remove the overloaded parseTimestamp function
This commit is contained in:
parent
e5bb6eceff
commit
4e5983dc43
2 changed files with 2 additions and 18 deletions
|
@ -31,8 +31,8 @@ func init() {
|
|||
ResourceListCmd.Flags().String("filter", "",
|
||||
"Define a CEl expression as filter for resources. In the expression, all available columns can be used (see -c/--column).\n"+
|
||||
"See also CEl specifications under https://github.com/google/cel-spec."+
|
||||
"\nExample:\n\t--filter '(Name == \"SomeName\" || matches(Name, \"RegExpr\")) && URI.startsWith(\"https://auth.\")'\n"+
|
||||
"Available builtin functions:\n\tparseTimestamp(string): It parses a string to an timestamp like the layout '2006-01-02+15:04:05' (see golangs time.Parse documentation)")
|
||||
"\nExamples:\n\t--filter '(Name == \"SomeName\" || matches(Name, \"RegExpr\")) && URI.startsWith(\"https://auth.\")'\n"+
|
||||
"\t--filter 'Username == \"User\" && CreatedTimestamp > timestamp(\"2022-06-10T00:00:00.000-00:00\")'")
|
||||
|
||||
ResourceListCmd.Flags().StringP("group", "g", "", "Resources that are shared with group")
|
||||
ResourceListCmd.Flags().StringArrayP("folder", "f", []string{}, "Resources that are in folder")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue