Files
directus/packages/cli
Jake Cattrall d24dacd075 Use date (epoch) compare workflow instead of timer to refresh token in SDK (#12399)
* use date compare workflow instead of timer

* convert milliseconds to seconds

* add missing references to auth_expired_at key

* correct calculation and presume getTime returns milliseconds

* resolve issue with static tokens

* prevents token refresh before everything else is initialized

* remove timer based authentication tests

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2022-04-01 09:31:11 -04:00
..
2021-06-14 15:10:50 -04:00
2021-05-12 20:38:30 +00:00
2021-05-12 20:38:30 +00:00
2021-05-12 20:38:30 +00:00
2021-05-12 20:38:30 +00:00
2021-05-12 20:38:30 +00:00
2021-05-12 20:38:30 +00:00
2022-03-23 14:50:51 -04:00
2021-05-12 20:38:30 +00:00
2021-05-12 20:38:30 +00:00

Directus CLI

The official Directus CLI tool. Allows you to connect to, and manage, any given Directus instance through the command line interface.

Installation

npm install -g @directus/cli

Usage

$ directusctl --help

Docs

See the docs