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
tft loginrequests a device code from the API.- Open https://thefluxtrain.com/cli/authorize and sign in if needed.
- Enter the code from your terminal and click Authorize CLI.
- The CLI stores an API key in
~/.config/thefluxtrain/credentials.json. - 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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
585acb4cbb76c119704d62d661283ee71436aa97c751e64db06ffe3a51954eb7
|
|
| MD5 |
2310b85c8d0dc7e4ea74140a1d42ebff
|
|
| BLAKE2b-256 |
07bf9666a7a6dea3ba3aaaa4f1f45048c0aa38d4a0ee608c191f85235024340a
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0b8cc20aabea0a866e538ad544823b2d06a9c6843add24efba6ab544eb61156
|
|
| MD5 |
180756b97884972c05f66a5a09f48cd1
|
|
| BLAKE2b-256 |
e9d77b48d599026e11fdac2257fe3bb39295e00e69f881b2849753f0dab39d88
|