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.
Sign in
arch login # opens the browser; MFA and consent as for any connected app
arch login --email you@example.com # unattended: password from ARCH_PASSWORD, or asked for
arch whoami
arch logout
The session is stored for your user (%APPDATA%\arch-insight\credentials.json
on Windows, ~/.config/arch-insight/credentials.json elsewhere, readable by
you only) and refreshed automatically, so scheduled jobs keep working.
ARCH_ACCESS_TOKEN or --token still override it. Developer-platform
commands also accept the platform token through ARCH_TOKEN. Set
ARCH_API_URL for a self-hosted deployment (default https://arch-insight.com)
and, if its sign-in is not at auth.<host>, ARCH_AUTH_URL.
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.
Marketing e-mail
Contact lists drop malformed addresses and reserved domains (example.com,
*.invalid, *.test, ...) and duplicates, and say what they dropped:
arch email-list create "Customers" --file customers.csv --exclude-domain mycompany.com
arch email-list create "Team" --members --dry-run
arch email-list add 4 --email new@customer.org
arch email-list export 4 --out customers.csv
A campaign's own subject and bodies are the English base. Each recipient who chose a language in ARCH-Insight gets that language's version when the campaign has one, everyone else the base:
arch marketing campaign create --name "Release 3.1" --subject "ARCH-Insight 3.1" \
--html release.html --text release.txt --list 4 --translations translations.json
arch marketing campaign preview 12 --language ja --out preview.html
arch marketing campaign test 12 --to me@mycompany.com --language ja # stays a draft
arch marketing campaign send 12 --yes
translations.json:
{"ja": {"subject": "ARCH-Insight 3.1", "body_html_file": "release.ja.html", "body_text_file": "release.ja.txt"},
"de": {"subject": "ARCH-Insight 3.1 ist da"}}
Set the logo shown at the top of every e-mail with arch org logo logo.png.
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.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arch_insight_cli-0.2.0.tar.gz | 16.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arch_insight_cli-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.8 kB
Release files / arch_insight_cli-0.2.0.tar.gz
| Download URL | arch_insight_cli-0.2.0.tar.gz |
|---|---|
| Size | 16.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0494bc5156974804c7cff94e5eb168c1e971f24eb8ccdd09263874c07ed1be91
|
|
BLAKE2b-256 checksum How to use checksums |
bcd5246e3d66dad8cfb0be32acf55f901bc0a1c55154ee965a5ce806cca7e049
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Release files / arch_insight_cli-0.2.0-py3-none-any.whl
| Download URL | arch_insight_cli-0.2.0-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d0cc3ec7958c9931e1b373b3bde87f69c0cda6fbd92a04d1da404b4d2b93a4f
|
|
BLAKE2b-256 checksum How to use checksums |
d48e482b03281ffb0ddb30042388c5bef6be84f512244b38b9c18cbb19c98c67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|