CLI for Datex Studio low-code platform, designed for LLM-based AI agents
Project description
Datex Studio CLI (dxs)
Command-line interface for Datex Studio low-code platform, designed for LLM-based AI agents.
Installation
# Using uv
uv pip install datex-studio-cli
# Using pip
pip install datex-studio-cli
Quick Start
# Authenticate with Azure Entra
dxs auth login
# View commit history
dxs source log --repo 10
# View configuration history
dxs source history userGrid --branch 100
# View current locks
dxs source locks --repo 10
Output Formats
The CLI supports multiple output formats optimized for LLM consumption:
# YAML (default)
dxs source log --repo 10
# JSON
dxs source log --repo 10 --output json
# CSV
dxs source log --repo 10 --output csv
Configuration
Configuration is stored in ~/.datex/config.yaml. You can also use environment variables:
# Set via environment
export DXS_API_BASE_URL=https://api.datex.io
export DXS_DEFAULT_BRANCH=100
export DXS_DEFAULT_REPO=10
# Set via CLI
dxs config set api_base_url https://api.datex.io
dxs config set default_branch 100
dxs config set default_repo 10
# View configuration
dxs config list
Commands
Authentication
dxs auth login- Authenticate with Azure Entradxs auth logout- Clear stored credentialsdxs auth status- Show authentication status
Configuration
dxs config get <key>- Get a configuration valuedxs config set <key> <value>- Set a configuration valuedxs config list- List all configuration values
Source Control
dxs source log- Show commit historydxs source history <ref>- Show configuration version historydxs source diff- Show pending changes (draft vs last commit)dxs source changes- Show pending changes in detaildxs source locks- Show current lock statusdxs source deps- Show configuration dependenciesdxs source compare- Compare two branches
Exploration
dxs source explore info- Show application overviewdxs source explore configs- List all configurationsdxs source explore config <ref>- View a specific configurationdxs source explore summary <ref>- Show structural summarydxs source explore trace <ref>- Show configuration dependencies
Branch & Repository Management
dxs source branch list- List branchesdxs source branch show <id>- Show branch detailsdxs source repo list- List repositoriesdxs source repo show <id>- Show repository details
Integrations
dxs devops workitem <id>- Get Azure DevOps work itemdxs crm case <id>- Get Dynamics CRM casedxs organization list- List organizationsdxs marketplace list- List marketplace applicationsdxs api <method> <url>- Make raw API requests
Development
# Clone and install
git clone https://github.com/datex/datex-studio-cli.git
cd datex-studio-cli
uv venv
source .venv/bin/activate
uv pip install -e ".[dev]"
# Run tests
pytest
# Lint and format
ruff check .
ruff format .
# Type check
mypy src/dxs
License
MIT
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
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 datex_studio_cli-0.1.0.tar.gz.
File metadata
- Download URL: datex_studio_cli-0.1.0.tar.gz
- Upload date:
- Size: 128.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efbdd45e39c21b2a0ab16a15be60ce4ec0dbbf4f663fffae6d571b70df7d7702
|
|
| MD5 |
a80a4853c8edcab186083b1591171736
|
|
| BLAKE2b-256 |
c47b8d8574160ee8d25131150b4f7f4e6f4e08df64751a0921f223c0c4a51ee9
|
File details
Details for the file datex_studio_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: datex_studio_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 149.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b586cfcaa0aaa76a99c87cf1e988410fa5324d486978a7a59114f7e7d7368f7
|
|
| MD5 |
d29dcf09709234afe5c58d364860a317
|
|
| BLAKE2b-256 |
5818fdc7c314b4c70f24cc0d3f2ac07eeb859c5b18062de80d55cbc3a000332d
|