Skip to main content

arch-cli

arch-cli is the ARCH-Insight command-line client. It includes commands for working with the product API, importing architecture data, managing the developer platform, and using the secrets vault.

Install

python -m pip install arch-insight-cli

The installed command is arch (also available as arch-cli). Python 3.9 or newer is required.

Authenticate

Product commands such as tasks and fact sheets require a GoTrue user access token. Set it as ARCH_ACCESS_TOKEN or pass it with --token:

export ARCH_ACCESS_TOKEN='your-user-access-token'

Developer-platform commands also accept the platform token through ARCH_TOKEN. Set ARCH_API_URL to use a self-hosted deployment; the default is https://arch-insight.com.

Tasks

arch task create "Review database costs" \
  --description "Check the quarterly forecast" \
  --project-id 12 --board-id 4 --priority high \
  --assignee "Alex Example" --due-date 2026-12-01

arch task list --project-id 12

The create command prints the created task as JSON. Repeat --assignee to assign more than one person.

Fact sheets

Create one fact sheet from JSON, import one or more JSON objects, or import an ARCH-Insight ZIP export:

arch factsheet create application.json
arch factsheet import fact-sheets.json
arch factsheet import archi_insight_export.zip
arch factsheet list

JSON imports create rows one at a time through the same API used by the web app. If an item fails, earlier successful items remain created. ZIP imports use the application's import endpoint and report imported and skipped entries.

Secrets

The dedicated arch-secrets command remains available. The same functionality can be reached through arch secrets:

export ARCH_SECRETS_TOKEN='your-vault-token'
arch secrets run -- npm start
arch secrets export > .env
arch secrets push .env

The vault token is scoped independently from the user access token used by product commands.

Developer platform

arch repo list
arch repo create team/sample --description "Example repository"
arch pipeline list --repo 12
arch pipeline show 42
arch pipeline logs 99
arch registry list
arch registry tags team/sample
arch runner list
arch deploy list production

Metadata

Release files for arch-insight-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arch-insight-cli 0.1.0
File Size Uploaded
arch_insight_cli-0.1.0.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arch-insight-cli 0.1.0
File Interpreter ABI Platform
arch_insight_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / arch_insight_cli-0.1.0.tar.gz

Download URL arch_insight_cli-0.1.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
83824951faf41cb94ddf8e21a61dda968787f6f7f54457601595a40912233a4e
BLAKE2b-256 checksum
How to use checksums
b098f5ac12120267f6c45c0286ccd70def8179b4d404a5f5a10b5f0cdf07cd82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / arch_insight_cli-0.1.0-py3-none-any.whl

Download URL arch_insight_cli-0.1.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11d12260ef3a46235a175e2f9b8501d8f94ef601fbb81f173ff8bf64d6e57c0e
BLAKE2b-256 checksum
How to use checksums
2fa08a77baedd8e01594bee05035607f7f80a5dd17dcb8c03f1018d54c39a675
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release history Release notifications | RSS feed

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page