Commands Reference
The sweny binary is provided by the @sweny-ai/core package. All commands auto-load .env and search upward for .sweny.yml before parsing flags.
sweny new
Section titled “sweny new”Create a new SWEny workflow. Interactive picker offering templates, AI-generated workflows, end-to-end browser testing, or a blank start. sweny new is the single entry for all workflow creation.
sweny new # interactive pickersweny new e2e # jump straight into the end-to-end browser-testing wizardsweny new <id> # use a built-in template by idIn a fresh repo, walks you through provider inference, credential collection, and writes .sweny.yml + .env + .sweny/workflows/<id>.yml. In a repo that already has .sweny.yml, adds the new workflow non-destructively — existing config is preserved and .env is append-only.
sweny check
Section titled “sweny check”Verify that all configured provider credentials are valid and can connect.
sweny checkReads providers from .sweny.yml and .env, then tests connectivity for each one. Prints a pass/fail status per provider with actionable error messages. Exits 0 if all providers pass, 1 if any fail.
Run this after initial setup or when rotating credentials.
sweny setup
Section titled “sweny setup”Create the standard SWEny label set in your issue tracker or source control provider. This is an interactive setup wizard with provider-specific subcommands.
sweny setup linear
Section titled “sweny setup linear”Create SWEny labels in a Linear workspace.
sweny setup linear --team-id <id>| Option | Description | Default |
|---|---|---|
--team-id <id> |
Linear team ID (required) | LINEAR_TEAM_ID env var |
Requires LINEAR_API_KEY in your environment. Creates the agent parent label, work-type labels (triage, feature, optimization, research, support, spec, task), signal labels (agent-needs-input, agent-error, human-only, needs-review), and a bug label. Prints a config snippet ready to paste into .sweny.yml.
sweny setup github
Section titled “sweny setup github”Create SWEny labels in a GitHub repository.
sweny setup github --repo <owner/repo>| Option | Description | Default |
|---|---|---|
--repo <owner/repo> |
GitHub repository (required) | GITHUB_REPOSITORY env var |
Requires GITHUB_TOKEN in your environment. Creates the same label set as the Linear setup, referenced by name (no UUIDs needed for GitHub).
sweny triage
Section titled “sweny triage”Run the SWEny triage workflow: fetch errors from your observability platform, investigate root causes, create issues, and optionally open fix PRs.
sweny triage [options]Provider options
Section titled “Provider options”| Option | Description | Default |
|---|---|---|
--agent <provider> |
Coding agent: claude, codex or pi (experimental); other values are rejected (alias: --coding-agent-provider) |
claude |
--observability-provider <provider> |
Observability platform | datadog |
--issue-tracker-provider <provider> |
Issue tracker: github-issues, linear, jira, file |
github-issues |
--source-control-provider <provider> |
Source control: github, gitlab, file |
github |
--notification-provider <provider> |
Notification: console, slack, teams, discord, email, webhook, file |
console |
Investigation options
Section titled “Investigation options”| Option | Description | Default |
|---|---|---|
--time-range <range> |
Time range to analyze (e.g. 1h, 4h, 24h, 7d) |
24h |
--severity-focus <focus> |
Severity level focus | errors |
--service-filter <filter> |
Service filter glob pattern | * |
--investigation-depth <depth> |
Investigation depth: quick, standard, thorough |
standard |
--max-investigate-turns <n> |
Max Claude turns for investigation (1-500) | 50 |
--max-implement-turns <n> |
Max Claude turns for implementation (1-500) | 30 |
PR and branch options
Section titled “PR and branch options”| Option | Description | Default |
|---|---|---|
--base-branch <branch> |
Base branch for PRs | main |
--pr-labels <labels> |
Comma-separated PR labels | agent,triage,needs-review |
--issue-labels <labels> |
Comma-separated labels for agent-created issues | – |
--repository <owner/repo> |
Repository (auto-detected from git remote) | – |
--review-mode <mode> |
PR merge behavior: auto (merge when CI passes) or review (human approval) |
review |
Behavior options
Section titled “Behavior options”| Option | Description | Default |
|---|---|---|
--dry-run |
Analyze only. Every node runs with read-only tools: write tools, external MCP servers, and shell/file-edit tools are withheld by the executor (on Codex, a shell confined to its OS read-only sandbox: no writes, no network), so no issues are created, no PRs opened, no notifications sent. Stops at the first natural-language conditional edge. See Dry run. | false |
--stage |
Run normally, but preview every issue, comment and PR instead of filing it; sweny blocks the push (env and git hooks; a guarantee only on a sandboxed run): see No push under –stage. See Permissions and safe outputs. | false |
--no-novelty-mode |
Allow +1 on existing issues instead of skipping duplicates | – |
--issue-override <issue> |
Work on a specific existing issue instead of scanning for new ones | – |
--additional-instructions <text> |
Extra instructions passed to the coding agent | – |
--service-map-path <path> |
Path to service map YAML | .github/service-map.yml |
Output options
Section titled “Output options”| Option | Description | Default |
|---|---|---|
--json |
Output results as JSON to stdout; suppress progress rendering | false |
--stream |
Stream NDJSON ExecutionEvent objects to stdout (for Studio / automation) |
false |
--bell |
Ring terminal bell on completion | false |
Cache options
Section titled “Cache options”The executor caches each completed node’s result. If a workflow crashes mid-execution and is restarted, previously completed nodes are loaded from cache instead of re-executed. This saves time and API costs during development and crash recovery.
| Option | Description | Default |
|---|---|---|
--cache-dir <path> |
Step cache directory | .sweny/cache |
--cache-ttl <seconds> |
Cache TTL in seconds (0 = infinite) | 86400 |
--no-cache |
Disable step cache entirely | – |
--output-dir <path> |
Output directory for file providers | .sweny/output |
Disable caching with --no-cache when debugging or when input data has changed but the workflow definition hasn’t.
Provider-specific options
Section titled “Provider-specific options”| Option | Description |
|---|---|
--linear-team-id <id> |
Linear team ID |
--linear-bug-label-id <id> |
Linear bug label ID |
--linear-triage-label-id <id> |
Linear triage label ID |
--linear-state-backlog <name> |
Linear backlog state name |
--linear-state-in-progress <name> |
Linear in-progress state name |
--linear-state-peer-review <name> |
Linear peer-review state name |
--log-file <path> |
Path to JSON log file (for --observability-provider file) |
--dd-site <site> |
Datadog site (default: datadoghq.com) |
--sentry-org <org> |
Sentry organization slug |
--sentry-project <project> |
Sentry project slug |
--sentry-base-url <url> |
Sentry base URL (default: https://sentry.io) |
--cloudwatch-region <region> |
AWS CloudWatch region (default: us-east-1) |
--cloudwatch-log-group-prefix <prefix> |
CloudWatch log group prefix |
--splunk-index <index> |
Splunk index (default: main) |
--elastic-index <index> |
Elasticsearch index (default: logs-*) |
--newrelic-region <region> |
New Relic region (default: us) |
--prometheus-url <url> |
Prometheus base URL |
--prometheus-token <token> |
Prometheus bearer token |
--heroku-app-name <name> |
Heroku application name |
--opsgenie-region <region> |
OpsGenie region (default: us) |
--honeycomb-dataset <name> |
Honeycomb dataset name |
--axiom-dataset <name> |
Axiom dataset name |
--axiom-org-id <id> |
Axiom org ID |
--betterstack-source-id <id> |
Better Stack log source ID |
--betterstack-table-name <name> |
Better Stack ClickHouse table name |
--gitlab-base-url <url> |
GitLab base URL (default: https://gitlab.com) |
--workspace-tools <tools> |
Comma-separated workspace tool integrations: slack, notion, pagerduty, monday |
sweny implement
Section titled “sweny implement”Implement a fix for an existing issue and open a PR. Fetches the issue from your tracker, investigates the codebase, implements a fix, and creates a pull request. No observability provider needed.
sweny implement <issueId> [options]The <issueId> argument is the issue identifier from your tracker (e.g. ENG-123 for Linear, #42 for GitHub Issues).
| Option | Description | Default |
|---|---|---|
--agent <provider> |
Coding agent: claude, codex or pi (experimental); other values are rejected (alias: --coding-agent-provider) |
claude |
--issue-tracker-provider <provider> |
Issue tracker: linear, jira, github-issues, file |
linear |
--source-control-provider <provider> |
Source control: github, gitlab, file |
github |
--dry-run |
Analyze and plan only. Runs with read-only tools (no code edits, no PR, and no shell (on Codex, a shell confined to its OS read-only sandbox: no writes, no network)). See Dry run. | false |
--stage |
Run normally, but preview the PR and the issue comment instead of writing them. The branch is never pushed: see No push under –stage. | false |
--max-implement-turns <n> |
Max coding agent turns (1-500) | 40 |
--base-branch <branch> |
Base branch for PRs | main |
--repository <owner/repo> |
Repository (auto-detected from git remote) | – |
--review-mode <mode> |
PR merge: auto or review |
review |
--additional-instructions <text> |
Extra instructions for the coding agent | – |
--stream |
Stream NDJSON events to stdout (for Studio / automation) | false |
--linear-team-id <id> |
Linear team ID | – |
--linear-state-in-progress <name> |
Linear in-progress state name | – |
--linear-state-peer-review <name> |
Linear peer-review state name | – |
--output-dir <path> |
Output directory for file providers | .sweny/output |
--workspace-tools <tools> |
Comma-separated workspace tool integrations | – |
No push under –stage and –dry-run
Section titled “No push under –stage and –dry-run”With --stage or --dry-run (or safe_outputs.staged: true in a workflow), sweny sets up every node’s agent environment so a push fails, on every agent (claude, codex, pi, ACP). The block is environment variables and a git hook: it stops an agent that pushes the normal way, but a deliberate agent can undo it unless the run is sandboxed. In CI with the sandbox on and no push credential in the agent’s reach, it cannot push.
git pushfails. A baregit push, a push to any remote or URL (https, ssh,git@,file://, a local path),--forceand--no-verifyare all refused, through git config sweny sets for the agent and a swenypre-pushhook. Git’s ssh transport refuses to push; ssh fetches still work.- No credential reaches git. Credential helpers (keychain,
gh auth git-credential, stored credentials) are reset and git’s password prompt is off. ghand raw API calls have no write token.GITHUB_TOKEN,GH_TOKEN, GitLab and Bitbucket tokens, every skill credential (even one a node grants withagent_env) and the ssh agent socket are withheld from the agent, andghgets an empty config, sogh pr createand acurlto the API with a token both fail. Skill tools (thegithubandlinearskills) run inside sweny, not in the agent, so reads through them keep working.- No skill write tool runs. Write tools (
github_create_pr,github_add_comment,linear_create_issueand the rest) are withheld from every node, and sweny refuses any write tool call before its handler runs. So sweny’s own branch push and API writes do not happen either; safe outputs are previewed instead. No skill or external MCP server is loaded in any node (an MCP server’s tools cannot be classified, so any of them may write); skill tools still reach the agent through sweny’s own channel, reads only.
Commits, diffs and fetches still work, so a staged run shows the change it would have pushed. The repository’s own git hooks do not run in a staged node.
What this does not stop: an agent that deliberately unsets these variables (or passes -c core.hooksPath=/dev/null) and finds a credential on disk, such as an ssh key without a passphrase, a keychain entry, or a token a checkout persisted in .git/config, can still push on an unsandboxed run. Local runs are unsandboxed by default. The process sandbox wrapper, where it runs, hides credential files such as ~/.ssh and ~/.git-credentials and limits the network. Under a strict harness policy (--harness-policy strict, the default under GitHub Actions) a staged write node whose agent would run unsandboxed is refused instead of run; under warn it runs and the gap is listed in degraded.
sweny workflow
Section titled “sweny workflow”Manage and run workflow files. All workflow subcommands operate on YAML or JSON workflow definitions.
sweny workflow validate
Section titled “sweny workflow validate”Validate a workflow file without running it.
sweny workflow validate <file> [options]| Option | Description | Default |
|---|---|---|
--json |
Output result as JSON | false |
Exits 0 if valid, 1 with error details if not. Useful in CI to catch schema errors before deployment.
sweny workflow validate my-workflow.yml# ✓ my-workflow.yml is valid
sweny workflow validate broken.yml# ✕ broken.yml has 2 validation errors:# Missing required field: entry# Node "fetch" references unknown skill "nonexistent"sweny workflow upgrade
Section titled “sweny workflow upgrade”Rewrite a workflow file at the current spec version.
sweny workflow upgrade <file> [--dry-run]| Option | Description | Default |
|---|---|---|
--dry-run |
Report what would change without writing the file | false |
Workflows carry an optional spec_version (absent means "1"). Older files still load: the CLI migrates them in memory and prints one warning pointing here. upgrade applies the same migrations and writes the file back. YAML comments, blank lines and key order are kept for everything a migration does not touch; comments on values a migration replaces or removes are not. A file newer than your CLI is refused with a prompt to run sweny upgrade.
sweny workflow run
Section titled “sweny workflow run”Execute a workflow file. With no file argument, batch-runs every workflow in .sweny/e2e/ (this is where end-to-end tests run, having replaced the old sweny e2e run).
sweny workflow run <file> [options] # run one workflowsweny workflow run [options] # batch-run all .sweny/e2e/*.yml| Option | Description | Default |
|---|---|---|
--dry-run |
Run with read-only tools only: write tools, external MCP servers, and shell/file-edit tools are withheld (on Codex, a shell confined to its OS read-only sandbox: no writes, no network), so nothing is created, posted, or sent. Stops at the first natural-language conditional edge. See Dry run. | false |
--list-nodes |
Validate the workflow and print its node list without running | false |
--json |
Output result as JSON to stdout; suppress progress rendering. Redacted like the final answer (see below) | false |
--stream |
Stream NDJSON events to stdout (for Studio / automation). Redacted like --json |
false |
--mermaid |
Print a Mermaid diagram with per-node execution state after the run finishes | false |
--comment-file <path> |
Write a PR-comment markdown (run receipt, status-colored DAG, per-node table; metadata only) to <path> so any CI can post it |
– |
--timeout <ms> |
Whole-run wall-clock budget for workflow run (one file, or per workflow in batch runs). 0 disables the budget. Non-numeric values are rejected |
3600000 (60 min) |
--max-steps <n> |
Hard cap on total node executions for a single workflow file, including eval-failure retries | 200 |
--max-tokens <n> |
Run-wide token budget (input plus output) for a single workflow file. The lowest of this and the workflow’s budget.tokens wins. A crossing stops the agent, fails the node and halts the run. See Spend budgets |
none |
--max-cost <usd> |
Run-wide cost budget in US dollars, from harness-reported cost (never estimated). The lowest of this and the workflow’s budget.cost_usd wins |
none |
-y, --yes |
Skip the batch confirmation prompt (use in CI) | false |
--agent <id> |
Coding agent that runs the nodes: claude, codex or pi (experimental) |
claude |
--harness-policy <mode> |
strict refuses a node whose policy the agent cannot enforce; warn runs it and reports it as degraded. Env: SWENY_HARNESS_POLICY |
strict under GitHub Actions, else warn |
--no-decider |
Skip the decision model for this run: the agent decides the routes of route_by: decider nodes. See Decision models |
decider on when configured |
--no-journal |
Do not write the run journal (kept in the sweny state dir, see Resume a run). The run cannot be resumed. Or set journal: off in .sweny.yml |
journal on |
--show-output |
Print the final answer in CI too. In CI (GITHUB_ACTIONS or CI set) the answer is saved to .sweny/runs/<run-id>/output.md and only that path is printed, unless this flag is set. Outside CI the answer is always printed. Either way it is redacted first |
off in CI |
--json and --stream are redacted. Every value they print (node data, summaries, errors, tool call inputs and outputs) passes through the same redactor as the final answer and output.md: values of secret-named env vars and skill credentials, string fields with secret-looking names (token, password, apiKey, …), and known token shapes (ghp_..., sk-..., xox..., AWS keys, private key blocks) become [redacted]. Keys and structure are unchanged, and non-secret values pass through as-is.
With a file, loads the definition, validates its schema, then executes it with the same DAG renderer and skill infrastructure as the built-in triage and implement commands. With no file, it lists every .sweny/e2e/*.yml workflow, asks you to confirm (skip with --yes), runs them sequentially with template variables ({base_url}, {run_id}, …) resolved, and exits 0 if all pass, 1 if any fail. Provider settings from .sweny.yml and .env apply.
sweny workflow resume
Section titled “sweny workflow resume”Resume a killed or failed workflow run from its journal. Finished nodes are replayed without calling the agent, the first unfinished node runs again, and writes already applied are not sent twice. See Resume a run.
sweny workflow resume <run-id> [options]sweny workflow resume <run-id> --plan # show what would replay and re-run, run nothing| Option | Description | Default |
|---|---|---|
--plan |
Print the resume plan and exit | false |
--force |
Resume although the workflow, its instruction files, the input, or the configured skills/agent changed (warns) | false |
--allow-repeat-writes |
Re-run nodes that may repeat a write outside safe outputs, and re-send writes whose outcome cannot be confirmed on the provider | false |
--workflow <file> |
Workflow file to load when it moved (its content must still match) | the path the run used |
--input <json> |
The run’s original input, required when the journal redacted secrets from it | the journaled input |
--timeout, --max-steps, --json, --stream, --verbose, --mermaid, --comment-file, --agent, --harness-policy, --no-decider, --show-output and --no-history work as on workflow run. A run id prefix is enough when it is unique.
sweny workflow diagram
Section titled “sweny workflow diagram”Render a workflow as a Mermaid diagram. Handy for PR descriptions, runbooks, and anywhere GitHub/GitLab renders Mermaid natively.
sweny workflow diagram <file> [options]The <file> argument accepts a path to a workflow YAML or JSON file, or the name of a built-in workflow (triage, implement, seed-content).
| Option | Description | Default |
|---|---|---|
--direction <dir> |
Graph direction: TB (top-bottom) or LR (left-right) |
TB |
--title <title> |
Inject a ---\ntitle: …\n--- header (off by default — raw Mermaid has no title) |
— |
--block / --no-block |
Wrap / don’t wrap in a ```mermaid fenced code block |
raw on stdout, .mmd, .mermaid; fenced on .md/.markdown |
-o, --output <path> |
Write the diagram to a file instead of stdout | — |
Output defaults to raw Mermaid syntax (no fence, no title frontmatter) — the format mmdc, the Mermaid Live Editor, and GitHub/GitLab inline renderers accept directly. When -o points at .md or .markdown, the output is auto-wrapped in a ```mermaid fenced block for paste-in-a-README use. --block / --no-block always wins if set explicitly.
# Raw Mermaid to stdout — pipe into mmdc, Live Editor, anythingsweny workflow diagram my-workflow.yml
# Canonical .mmd / .mermaid for toolingsweny workflow diagram my-workflow.yml -o diagram.mmdsweny workflow diagram my-workflow.yml -o diagram.mermaid
# Paste-ready markdown file for a PR description or README (auto-fenced)sweny workflow diagram triage -o triage.md --direction LR
# Force fenced output to stdout (e.g. piping to pbcopy for a PR comment)sweny workflow diagram my-workflow.yml --block | pbcopy
# Force raw output to a .md file (override the auto-fence)sweny workflow diagram my-workflow.yml -o diagram.md --no-blocksweny workflow export
Section titled “sweny workflow export”Print a built-in workflow as YAML. Use this to get a starting point for customization.
sweny workflow export <name>The <name> argument must be triage or implement.
# Export the triage workflow and save it for editingsweny workflow export triage > my-triage.ymlsweny workflow create
Section titled “sweny workflow create”Generate a new workflow from a natural language description.
sweny workflow create <description> [options]| Option | Description | Default |
|---|---|---|
--json |
Output workflow JSON to stdout (skip interactive prompt) | false |
In interactive mode, the CLI displays a DAG preview of the generated workflow and prompts you to save, refine, or discard:
Save to .sweny/workflows/check-slow-queries.yml? [Y/n/refine]Choosing refine (or typing a refinement instruction directly) sends your feedback back to the LLM to iterate on the design.
sweny workflow edit
Section titled “sweny workflow edit”Edit an existing workflow file with natural language instructions.
sweny workflow edit <file> [instruction] [options]| Option | Description | Default |
|---|---|---|
--json |
Output updated workflow JSON to stdout (skip interactive prompt) | false |
If [instruction] is omitted, the CLI prompts you interactively. After editing, the updated DAG is displayed with the same save/refine/discard flow as workflow create.
# Inline instructionsweny workflow edit my-workflow.yml "add a Slack notification after creating tickets"
# Interactivesweny workflow edit my-workflow.yml# What would you like to change? _sweny workflow list
Section titled “sweny workflow list”List the skills currently configured (required env vars present) and available to workflow nodes.
sweny workflow list [options]| Option | Description | Default |
|---|---|---|
--json |
Output as JSON array | false |
Prints each configured skill’s ID, category, and description. For the full picture (built-in plus custom, configured plus unconfigured), use sweny skill list instead.
End-to-end browser testing
Section titled “End-to-end browser testing”E2E testing has no dedicated namespace — it uses the two commands above:
- Scaffold with
sweny new e2e— the wizard generates.sweny/e2e/<flow-name>.ymlfiles and appends env vars to.env. - Run with
sweny workflow run— no file argument batch-runs every workflow in.sweny/e2e/.
See the E2E Testing guide for the full walkthrough.
sweny skill
Section titled “sweny skill”Author and inspect skills. Skills are the unit of capability a workflow node references via its skills: array. The CLI ships built-ins (github, linear, slack, …) and discovers custom skills from .{sweny,claude,agents,gemini}/skills/<id>/SKILL.md.
sweny skill new
Section titled “sweny skill new”Scaffold a SKILL.md template for a new custom skill.
sweny skill new <id> [options]| Option | Description | Default |
|---|---|---|
-d, --description <text> |
One-line description (becomes the description: frontmatter field). |
Custom <id> skill |
-c, --category <category> |
One of general, git, tasks, notification, observability, data. |
general |
--harness <name> |
Where to place the skill: claude, sweny, agents, gemini. |
claude |
--force |
Overwrite an existing SKILL.md instead of refusing. |
off |
The scaffold writes frontmatter (with commented-out config: and mcp: blocks ready to uncomment) and a body skeleton documenting when to use the skill, what it provides, common failure modes, and an example invocation. See Custom Skills for the full format.
sweny skill new voyage-embeddings -d "Embed text via Voyage AI" -c data# Created .claude/skills/voyage-embeddings/SKILL.mdExit codes: 0 on success, 1 when the target file already exists and --force is not set, 2 for invalid id, category, or harness.
sweny skill list
Section titled “sweny skill list”List built-in and custom skills together with their configuration status.
sweny skill list [--json]| Option | Description | Default |
|---|---|---|
--json |
Output the full list as JSON (for scripting). | off |
Each row shows ✓ (required env vars present) or · (skill is discoverable but not configured), plus the skill’s category and a builtin or custom tag. Custom skills that override a built-in id appear once, marked custom.
sweny skill list --json# [# { "id": "github", "kind": "builtin", "category": "git", "configured": true, ... },# { "id": "voyage-embeddings", "kind": "custom", "category": "data", "configured": false, ... }# ]sweny publish
Section titled “sweny publish”Publish a workflow or skill. Interactive CLI that validates your content and opens a pull request against the swenyai/marketplace repository.
sweny publishWalks you through:
- Select type — workflow or skill
- Select path — pick the file (workflow) or directory (skill) to publish
- Validate — checks schema, frontmatter, and structure
- Metadata — add tags, category, and description
- Submit: forks swenyai/marketplace via
gh, creates a branch, and opens a PR
Requires the GitHub CLI (gh) to be installed and authenticated. If gh is not available, the command saves validated files locally to ./sweny-publish/ for manual submission.
sweny upgrade
Section titled “sweny upgrade”Upgrade the globally-installed @sweny-ai/core CLI to the latest published version. Aliased as sweny update.
sweny upgradeDetects how you installed sweny (npm, pnpm, yarn, bun, volta, Homebrew) and runs the right installer. Prints the exact command it’s about to run so there’s no surprise.
| Option | Description |
|---|---|
--check |
Report the available version and the install command without running it |
--force |
Reinstall even if the current version is already latest |
--tag <tag> |
Install a specific npm dist-tag (default: latest; e.g. --tag beta) |
Examples:
# Dry-run — see what would be installedsweny upgrade --check
# Install a pre-releasesweny upgrade --tag beta
# Force a reinstall of the current versionsweny upgrade --forcePassive version check. Every sweny command ends with a one-line footer when a newer release is available:
› sweny 0.1.66 is available (you have 0.1.65). Run `sweny upgrade`The check is cached for 24 hours and skipped in CI, piped invocations, and when SWENY_NO_UPDATE_CHECK=1 or SWENY_OFFLINE=1 is set.
Homebrew installs are detected but not driven automatically — the command prints brew upgrade sweny for you to run.
Global options
Section titled “Global options”These options are available on all commands:
| Option | Description |
|---|---|
--version |
Print the CLI version |
--help |
Show help for a command |
Environment variables
Section titled “Environment variables”| Variable | Effect |
|---|---|
SWENY_NO_UPDATE_CHECK=1 |
Suppress the “new version available” footer |
SWENY_OFFLINE=1 |
Same as above; also recommended for airgapped environments |
CI=1 |
Automatically suppresses the footer (set by most CI systems) |