Skip to main content

Command-line interface for TheFluxTrain APIs

Project description

thefluxtrain-cli

Command-line interface for TheFluxTrain APIs.

Install

pip install thefluxtrain-cli
# or
uv tool install thefluxtrain-cli

Commands

tft login      # Device-code sign-in via thefluxtrain.com
tft logout     # Clear local credentials and local CLI data
tft sync       # Refresh the CLI command list
tft whoami     # Show logged-in user and API key id
tft commands   # List all available API commands

Quick start

tft login
tft commands
tft whoami

How login works

  1. tft login requests a device code from the API.
  2. Open https://thefluxtrain.com/cli/authorize and sign in if needed.
  3. Enter the code from your terminal and click Authorize CLI.
  4. The CLI stores an API key in ~/.config/thefluxtrain/credentials.json.
  5. The CLI command list is refreshed automatically after login.

Command list refresh

The CLI keeps its command list and help text up to date automatically. Run tft sync to refresh manually, then use tft commands and tft <group> <command> --help to discover what is available.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thefluxtrain_cli-0.1.22.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thefluxtrain_cli-0.1.22-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file thefluxtrain_cli-0.1.22.tar.gz.

File metadata

  • Download URL: thefluxtrain_cli-0.1.22.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for thefluxtrain_cli-0.1.22.tar.gz
Algorithm Hash digest
SHA256 585acb4cbb76c119704d62d661283ee71436aa97c751e64db06ffe3a51954eb7
MD5 2310b85c8d0dc7e4ea74140a1d42ebff
BLAKE2b-256 07bf9666a7a6dea3ba3aaaa4f1f45048c0aa38d4a0ee608c191f85235024340a

See more details on using hashes here.

File details

Details for the file thefluxtrain_cli-0.1.22-py3-none-any.whl.

File metadata

  • Download URL: thefluxtrain_cli-0.1.22-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for thefluxtrain_cli-0.1.22-py3-none-any.whl
Algorithm Hash digest
SHA256 a0b8cc20aabea0a866e538ad544823b2d06a9c6843add24efba6ab544eb61156
MD5 180756b97884972c05f66a5a09f48cd1
BLAKE2b-256 e9d77b48d599026e11fdac2257fe3bb39295e00e69f881b2849753f0dab39d88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page