Skip to main content

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 Entra
  • dxs auth logout - Clear stored credentials
  • dxs auth status - Show authentication status

Configuration

  • dxs config get <key> - Get a configuration value
  • dxs config set <key> <value> - Set a configuration value
  • dxs config list - List all configuration values

Source Control

  • dxs source log - Show commit history
  • dxs source history <ref> - Show configuration version history
  • dxs source diff - Show pending changes (draft vs last commit)
  • dxs source changes - Show pending changes in detail
  • dxs source locks - Show current lock status
  • dxs source deps - Show configuration dependencies
  • dxs source compare - Compare two branches

Exploration

  • dxs source explore info - Show application overview
  • dxs source explore configs - List all configurations
  • dxs source explore config <ref> - View a specific configuration
  • dxs source explore summary <ref> - Show structural summary
  • dxs source explore trace <ref> - Show configuration dependencies

Branch & Repository Management

  • dxs source branch list - List branches
  • dxs source branch show <id> - Show branch details
  • dxs source repo list - List repositories
  • dxs source repo show <id> - Show repository details

Integrations

  • dxs devops workitem <id> - Get Azure DevOps work item
  • dxs crm case <id> - Get Dynamics CRM case
  • dxs organization list - List organizations
  • dxs marketplace list - List marketplace applications
  • dxs 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


Download files

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

Source Distribution

datex_studio_cli-0.1.0.tar.gz (128.3 kB view details)

Uploaded Source

Built Distribution

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

datex_studio_cli-0.1.0-py3-none-any.whl (149.3 kB view details)

Uploaded Python 3

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

Hashes for datex_studio_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 efbdd45e39c21b2a0ab16a15be60ce4ec0dbbf4f663fffae6d571b70df7d7702
MD5 a80a4853c8edcab186083b1591171736
BLAKE2b-256 c47b8d8574160ee8d25131150b4f7f4e6f4e08df64751a0921f223c0c4a51ee9

See more details on using hashes here.

File details

Details for the file datex_studio_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for datex_studio_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b586cfcaa0aaa76a99c87cf1e988410fa5324d486978a7a59114f7e7d7368f7
MD5 d29dcf09709234afe5c58d364860a317
BLAKE2b-256 5818fdc7c314b4c70f24cc0d3f2ac07eeb859c5b18062de80d55cbc3a000332d

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