npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@acmada/gwirian-cli

v1.1.1

Published

CLI for Gwirian API with modern TUI

Downloads

485

Readme

Gwirian CLI

Gwirian is a platform for managing BDD scenarios and feature tests. This CLI lets you use the Gwirian API from the terminal with a modern TUI (projects, features, scenarios, and scenario executions).

Prerequisites

  • Node.js >= 18

Quick start (install from npm)

Install the CLI globally:

npm install -g @acmada/gwirian-cli

Configure your API token (get it from Gwirian: workspace → API token):

gwirian auth

Optionally test the connection:

gwirian auth --test

Then run the TUI or any command:

gwirian
# or
gwirian projects list
gwirian --help

Installing skills

Cursor and Claude Code can use the gwirian-cli skill so the agent knows how to run the CLI and manage features/scenarios. Install the skill with:

gwirian install --skills

This copies the skill into .cursor/skills/gwirian-cli and .claude/skills/gwirian-cli in the current directory. Options:

  • --target cursor — install only for Cursor (.cursor/skills/gwirian-cli)
  • --target claude — install only for Claude (.claude/skills/gwirian-cli)
  • --target both — install for both (default)
  • --global (or -g) — install in your home directory (~/.cursor/skills/gwirian-cli and/or ~/.claude/skills/gwirian-cli)

Examples:

gwirian install --skills --target cursor
gwirian install --skills --global

Installation (from source)

cd gwirian-cli
npm install
npm run build

Run the binary:

npm start
# or
node dist/cli.js

During development (no build step):

npm run dev

Using the gwirian command everywhere

To run the CLI as gwirian (without prefixing with node or npm start):

Development (global link)
From the project root:

npm run build
npm link

After that, the gwirian command is available in your terminal. To remove the link: npm unlink -g @acmada/gwirian-cli.

Global install (permanent binary)
From the project root:

npm run build
npm install -g .

The gwirian command is then installed globally (e.g. in the same prefix as your node).

Configuration

  • Token: Generated in Gwirian (workspace member → API token). Enter it once via the TUI or the gwirian auth command.
  • Base URL: Default https://app.gwirian.com. Can be changed in the TUI setup or with gwirian config set base-url <url>.

The config file is stored at:

  • $XDG_CONFIG_HOME/gwirian-cli/config.json if XDG_CONFIG_HOME is set;
  • otherwise ~/.config/gwirian-cli/config.json.

The token is never displayed (including in config get).

Usage

No arguments (TUI)

In an interactive terminal:

gwirian
  • If no token is configured: setup form (token + base URL).
  • Otherwise: browse projects → features → scenarios.

Command-line commands

Auth and configuration

| Command | Description | |---------|-------------| | gwirian auth | Prompt for token (use -t / --test to verify connection) | | gwirian logout | Clear stored token | | gwirian config get | Show base URL and whether a token is set | | gwirian config set base-url <url> | Set API base URL |

Install

| Command | Description | |---------|-------------| | gwirian install --skills | Install gwirian-cli skill for Cursor and/or Claude (use --target cursor|claude|both, --global) |

Projects

  • gwirian projects list
  • gwirian projects show <project-id>

Features

  • gwirian features list <project-id>
  • gwirian features show <project-id> <feature-id>
  • gwirian features create <project-id> [--title] [--description] [--tag-list]
  • gwirian features update <project-id> <feature-id> [--title] [--description] [--tag-list]
  • gwirian features delete <project-id> <feature-id>

Scenarios

  • gwirian scenarios list <project-id> <feature-id>
  • gwirian scenarios show <project-id> <feature-id> <scenario-id>
  • gwirian scenarios create <project-id> <feature-id> [--title] [--given] [--when] [--then] [--position]
  • gwirian scenarios update <project-id> <feature-id> <scenario-id> [...]
  • gwirian scenarios delete <project-id> <feature-id> <scenario-id>

Scenario executions

  • gwirian scenario-executions list <project-id> <feature-id> <scenario-id>
  • gwirian scenario-executions show <project-id> <feature-id> <scenario-id> <execution-id>
  • gwirian scenario-executions create <project-id> <feature-id> <scenario-id> [--status] [--notes] [--executed-at]
  • gwirian scenario-executions update ...
  • gwirian scenario-executions delete ...

Global options

  • --base-url <url>: Override base URL for the command.
  • --json: Raw JSON output (instead of formatted tables for list/show).

Examples:

gwirian --help
gwirian --json projects list
gwirian --base-url https://staging.gwirian.com projects list

License

MIT.