Skip to main content

Documentation Index

Fetch the complete documentation index at: https://intunedhq.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

The Intuned CLI @intuned/cli provides command-line access to develop, test, deploy and manage Intuned automation projects.

Commands

  • Auth — Manage authentication (login, logout, whoami).
  • Platform — Manage projects on Intuned platform.
  • Dev — Develop and test automations locally.
  • Configuration — Settings file, environment variables, and authentication.

Auth

The intuned auth command group manages authentication.

Login

Login to your Intuned account via browser-based OAuth. This login is reused across your machine.
intuned auth login
-h, --help
Display help for command. Will not execute the command.
Login has no effect when INTUNED_API_KEY environment variables are set.

Logout

Logout from your Intuned account.
intuned auth logout
-h, --help
Display help for command. Will not execute the command.

Whoami

Display current authentication information including the authentication method, workspace, and role.
intuned auth whoami
The output varies by authentication method:
  • Browser-based login — Email, workspace ID, workspace name, and role.
  • API key (INTUNED_API_KEY) — Workspace ID and workspace name.
  • Not logged in — Instructions for how to authenticate.
Use --json for machine-readable output:
intuned auth whoami --json
-h, --help
Display help for command. Will not execute the command.

Authentication

The CLI supports two authentication methods:
  1. Browser-based Login (intuned auth login) — Browser-based OAuth login.
  2. API Key (INTUNED_API_KEY environment variable) — Requires workspace ID from settings file (workspaceId) or INTUNED_WORKSPACE_ID env var.
Priority: API Key > Browser-based Login > Error

Reference