Commands

Command Description
tokens:fetch Fetch entry.
tokens:has Check whether entry exists.
tokens:generate Generate token.
tokens:generate-hash Generate token hash.
tokens:verify-hash Verify token hash.
tokens:create Create entry.
tokens:delete Delete entry.
tokens:update Update entry.

Commands Details

tokens:fetch
TERMINAL
bin/flextype tokens:fetch -h

Description:
  Fetch token entry.

Usage:
  tokens:fetch [options] [--] [<id> [<options>]]

Arguments:
  id                                                         Unique identifier of the token entry.
  options                                                    Options array.

Options:
      --collection                                           Set this flag to fetch tokens entries collection.
      --find-depth-from[=FIND-DEPTH-FROM]                    Restrict the tokens entries files depth of traversing from.
      --find-depth-to[=FIND-DEPTH-TO]                        Restrict the tokens entries files depth of traversing to.
      --find-date-from[=FIND-DATE-FROM]                      Restrict the tokens entries files by a date range from.
      --find-date-to[=FIND-DATE-TO]                          Restrict the tokens entries files by a date range to.
      --find-size-from[=FIND-SIZE-FROM]                      Restrict the tokens entries files by a size range from.
      --find-size-to[=FIND-SIZE-TO]                          Restrict the tokens entries files by a size range to.
      --find-exclude[=FIND-EXCLUDE]                          Exclude directories from matching.
      --find-contains[=FIND-CONTAINS]                        Find tokens entries files by content.
      --find-not-contains[=FIND-NOT-CONTAINS]                Find tokens entries files by content excludes files containing given pattern.
      --find-path[=FIND-PATH]                                Find tokens entries files and directories by path.
      --find-sort-by-key[=FIND-SORT-BY-KEY]                  Sort the tokens entries files and directories by the last accessed, changed or modified time. Values: atime, mtime, ctime.
      --find-sort-by-direction[=FIND-SORT-BY-DIRECTION]      Sort the tokens entries files and directories by direction. Order direction: DESC (descending) or ASC (ascending)
      --filter-return[=FILTER-RETURN]                        Return items. Valid values: all, first, last, next, random, shuffle
      --filter-group-by[=FILTER-GROUP-BY]                    Group array collection by key.
      --filter-offset[=FILTER-OFFSET]                        Extract a slice of the current array collection with specific offset.
      --filter-limit[=FILTER-LIMIT]                          Extract a slice of the current array collection with offset 0 and specific length.
      --filter-sort-by-key[=FILTER-SORT-BY-KEY]              Sort array collection by key.
      --filter-sort-by-direction[=FILTER-SORT-BY-DIRECTION]  Sort array collection by direction. Order direction: DESC (descending) or ASC (ascending)
      --filter-where[=FILTER-WHERE]                          Filters the array collection fields by a given condition. (multiple values allowed)
  -h, --help                                                 Display help for the given command. When no command is given display help for the list command
  -q, --quiet                                                Do not output any message
  -V, --version                                              Display this application version
      --ansi|--no-ansi                                       Force (or disable --no-ansi) ANSI output
  -n, --no-interaction                                       Do not ask any interactive question
  -v|vv|vvv, --verbose                                       Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
tokens:has
TERMINAL
bin/flextype tokens:has -h

Description:
  Check whether token entry exists.

Usage:
  tokens:has <id>

Arguments:
  id                    Unique identifier of the token entry.

Options:
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
tokens:generate
TERMINAL
bin/flextype tokens:generate -h

Description:
  Generate token.

Usage:
  tokens:generate [<length>]

Arguments:
  length                Token string length.

Options:
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
tokens:generate-hash
TERMINAL
bin/flextype tokens:generate-hash -h

Description:
  Generate token hash.

Usage:
  tokens:generate-hash [<token>]

Arguments:
  token                 Token string.

Options:
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
tokens:verify-hash
TERMINAL
bin/flextype tokens:verify-hash -h

Description:
  Verify token hash.

Usage:
  tokens:verify-hash <token> <token-hash>

Arguments:
  token                 Token.
  token-hash            Token hash.

Options:
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
tokens:create
TERMINAL
bin/flextype tokens:create -h

Description:
  Create a new unique token.

Usage:
  tokens:create [<data>]

Arguments:
  data                  Data to create for the token entry.

Options:
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
tokens:delete
TERMINAL
bin/flextype tokens:delete -h

Description:
  Delete token entry.

Usage:
  tokens:delete <id>

Arguments:
  id                    Unique identifier of the token entry.

Options:
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
tokens:update
TERMINAL
bin/flextype tokens:update -h

Description:
  Update tokens entry.

Usage:
  tokens:update <id> [<data>]

Arguments:
  id                    Unique identifier of the token entry.
  data                  Data to update for the token entry.

Options:
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug