ewccli
Installation
SKILL.md
EWCCLI
Use this skill for European Weather Cloud (EWC) CLI workflows: installing ewccli, validating the ewc command, preparing login profiles, handling OpenStack application credentials safely, listing/showing/deploying Community Hub items, using infrastructure commands, testing custom catalogues, or troubleshooting ewc errors.
This skill is grounded in ewccli 0.3.1 and the upstream ewcloud/ewccli main branch inspected on 2026-04-29. Install that exact version (ewccli==0.3.1); a newer release may change the registered command surface, so revalidate this skill before recommending one. Prefer installed ewc --help output and official EWC upstream docs when exact flags, item metadata, or service behavior matter.
Operating Rules
- Never print, commit, or log OpenStack application credential IDs, application credential secrets, private SSH keys, encoded SSH key material, tokens, cloud account details, or private profile files.
- Read-only commands (
ewc version,ewc --help,ewc hub list,ewc hub show,ewc infra list,ewc infra show) are safe to run without confirmation when the user asks for a check. They still need a working profile or catalogue source. - State-changing commands (
ewc login,ewc hub deploy,ewc infra create,ewc infra delete) require explicit user confirmation before execution. Confirm target federee, profile, tenant, item/server name, and dry-run expectations first, and prefer--dry-runwhere supported. - Do not overwrite or delete profiles in
$HOME/.ewccli/profiles, SSH keys under$HOME/.ewccli/.ssh, OpenStackclouds.yaml, or generated deployment outputs unless the user explicitly requests it. - Never invent EWC-specific values: tenant names, portal or Horizon URLs, OpenStack CLI alternatives, DNS commands, service paths, or support processes. Use official-links.md for links and auth-profiles.md for the tenant-name convention and the credential-request process; otherwise ask the user.
ewc loginconsumes an existing credential source (clouds.yaml, sourcedopenrc, environment variables, or its interactive prompt) and writes only theewccliprofile. It does not create or configureclouds.yamloropenrc. See auth-profiles.md.- If credentials are missing, provide commands with placeholders or explain the interactive prompt path instead of inventing values.
- For exact command flags, run
ewc --helporewc <group> --helplocally before finalizing examples. Someewc infra <command> --helpcalls initialize profile/OpenStack configuration, so treat them as configured-environment checks. - Locate the CLI with
command -v ewcbefore anything else. Never assume a project.venv, a personal virtualenv directory, or a repository-specific path; install per install.md into standard user-tool locations or an environment the user names. - For
ewc infra, place--profile <profile-name>immediately afterinfra, before the subcommand.