{"id":34830194,"url":"https://github.com/probitas-test/cli","last_synced_at":"2026-01-13T20:49:12.822Z","repository":{"id":329171840,"uuid":"1117562317","full_name":"probitas-test/cli","owner":"probitas-test","description":"Command-line interface for Probitas - a scenario-based testing \u0026 workflow execution framework.","archived":true,"fork":false,"pushed_at":"2025-12-27T10:31:47.000Z","size":220,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T19:43:21.324Z","etag":null,"topics":["cli","probitas"],"latest_commit_sha":null,"homepage":"https://probitas-test.github.io/documents/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/probitas-test.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-16T13:43:01.000Z","updated_at":"2025-12-27T10:32:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/probitas-test/cli","commit_stats":null,"previous_names":["jsr-probitas/cli"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/probitas-test/cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probitas-test%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probitas-test%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probitas-test%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probitas-test%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/probitas-test","download_url":"https://codeload.github.com/probitas-test/cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probitas-test%2Fcli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","probitas"],"created_at":"2025-12-25T15:49:02.039Z","updated_at":"2026-01-13T20:49:12.816Z","avatar_url":"https://github.com/probitas-test.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚠️ DEPRECATED\n\nMerged into https://github.com/probitas-test/probitas\n\n---\n\n# Probitas CLI\n\n[![JSR](https://jsr.io/badges/@probitas/cli)](https://jsr.io/@probitas/cli)\n[![Test](https://github.com/probitas-test/cli/actions/workflows/test.yml/badge.svg)](https://github.com/probitas-test/cli/actions/workflows/test.yml)\n[![Publish](https://github.com/probitas-test/cli/actions/workflows/publish.yml/badge.svg)](https://github.com/probitas-test/cli/actions/workflows/publish.yml)\n[![codecov](https://codecov.io/gh/probitas-test/cli/graph/badge.svg)](https://codecov.io/gh/probitas-test/cli)\n\nCommand-line interface for\n[Probitas](https://github.com/probitas-test/probitas) - a scenario-based testing\n\u0026 workflow execution framework.\n\n## Installation\n\n### Quick Install\n\nRequires [Deno](https://deno.land/) v2.x or later.\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/probitas-test/cli/main/install.sh | sh\n```\n\n**Environment variables:**\n\n| Variable               | Description            | Default       |\n| ---------------------- | ---------------------- | ------------- |\n| `PROBITAS_VERSION`     | Version to install     | latest        |\n| `PROBITAS_INSTALL_DIR` | Installation directory | `~/.deno/bin` |\n\n```bash\n# Install specific version\ncurl -fsSL https://raw.githubusercontent.com/probitas-test/cli/main/install.sh | PROBITAS_VERSION=0.1.0 sh\n\n# Install to custom directory\ncurl -fsSL https://raw.githubusercontent.com/probitas-test/cli/main/install.sh | PROBITAS_INSTALL_DIR=/usr/local sh\n```\n\n### Using Homebrew (macOS/Linux)\n\n```bash\n# Add the tap and install\nbrew tap probitas-test/tap\nbrew install probitas\n\n# Or install directly\nbrew install probitas-test/tap/probitas\n```\n\nDeno is installed automatically as a dependency.\n\n### Using Nix\n\nWith [Nix](https://nixos.org/) and flakes enabled:\n\n```bash\n# Run directly without installing\nnix run github:probitas-test/cli\n\n# Install to profile\nnix profile install github:probitas-test/cli\n```\n\n**Use in a flake (recommended):**\n\n```nix\n{\n  inputs = {\n    nixpkgs.url = \"github:NixOS/nixpkgs/nixpkgs-unstable\";\n    probitas.url = \"github:probitas-test/cli\";\n  };\n\n  outputs = { nixpkgs, probitas, ... }:\n    let\n      system = \"x86_64-linux\"; # or \"aarch64-darwin\", etc.\n      pkgs = import nixpkgs {\n        inherit system;\n        overlays = [ probitas.overlays.default ];\n      };\n    in {\n      # Now you can use pkgs.probitas anywhere\n      devShells.${system}.default = pkgs.mkShell {\n        packages = [ pkgs.probitas ];\n      };\n    };\n}\n```\n\n**NixOS / Home Manager:**\n\n```nix\n{\n  nixpkgs.overlays = [ probitas.overlays.default ];\n  environment.systemPackages = [ pkgs.probitas ];  # NixOS\n  home.packages = [ pkgs.probitas ];               # Home Manager\n}\n```\n\n## Usage\n\n```bash\n# Run all scenarios\nprobitas run\n\n# Run scenarios with specific tag\nprobitas run -s tag:example\n\n# Run with JSON reporter\nprobitas run --reporter json\n\n# List scenarios without running\nprobitas list\n\n# Format scenario files\nprobitas fmt\n\n# Lint scenario files\nprobitas lint\n\n# Type-check scenario files\nprobitas check\n\n# Show help\nprobitas --help\n```\n\n## Commands\n\n### `probitas run [paths...] [options]`\n\nExecute scenario files and report results.\n\n**Options:**\n\n- `--select, -s \u003cpattern\u003e` - Filter scenarios by selector (can repeat)\n- `--reporter \u003ctype\u003e` - Output format: dot, list, json, tap (default: list)\n- `--max-concurrency \u003cn\u003e` - Max parallel scenarios (0 = unlimited)\n- `--sequential, -S` - Run scenarios sequentially (alias for\n  --max-concurrency=1)\n- `--max-failures \u003cn\u003e` - Stop after N failures (0 = continue all)\n- `--fail-fast, -f` - Stop on first failure (alias for --max-failures=1)\n- `--verbose, -v` - Verbose output (info level logging)\n- `--quiet, -q` - Quiet output (errors only, fatal level logging)\n- `--debug, -d` - Debug output (maximum detail)\n- `--include \u003cglob\u003e` - Include files matching pattern (can repeat)\n- `--exclude \u003cglob\u003e` - Exclude files matching pattern (can repeat)\n- `--timeout \u003cduration\u003e` - Scenario timeout (e.g., \"30s\", \"5m\", default: \"30s\")\n- `--no-timeout` - Disable timeout (alias for --timeout 0)\n- `--config \u003cpath\u003e` - Path to config file\n- `--env \u003cfile\u003e` - Load environment variables from file (default: .env)\n- `--no-env` - Skip loading .env file\n- `--reload, -r` - Reload dependencies before running\n- `--no-color` - Disable colored output\n\n### `probitas list [paths...] [options]`\n\nList discovered scenarios without running them.\n\n**Options:**\n\n- `--select, -s \u003cpattern\u003e` - Filter scenarios by selector (can repeat)\n- `--include \u003cglob\u003e` - Include files matching pattern (can repeat)\n- `--exclude \u003cglob\u003e` - Exclude files matching pattern (can repeat)\n- `--json` - Output as JSON\n- `--config \u003cpath\u003e` - Path to config file\n- `--env \u003cfile\u003e` - Load environment variables from file (default: .env)\n- `--no-env` - Skip loading .env file\n- `--reload, -r` - Reload dependencies before listing\n- `--verbose, -v` - Verbose output\n- `--quiet, -q` - Quiet output\n- `--debug, -d` - Debug output\n\n### `probitas init [options]`\n\nInitialize a new Probitas project with example files.\n\n**Options:**\n\n- `--directory, -d \u003cdir\u003e` - Directory name to create (default: \"probitas\")\n- `--force, -f` - Overwrite existing files\n- `--verbose, -v` - Enable verbose output\n- `--quiet, -q` - Suppress non-error output\n\n**Examples:**\n\n```bash\n# Create probitas/ directory with example files\nprobitas init\n\n# Create custom directory name\nprobitas init -d scenarios\n\n# Overwrite existing files\nprobitas init --force\n```\n\n**Created files:**\n\n- `example.probitas.ts` - Example scenario file\n- `probitas.jsonc` - Configuration file\n\n### `probitas fmt [paths...] [options]`\n\nFormat scenario files using Deno's formatter.\n\n**Options:**\n\n- `--include \u003cpattern\u003e` - Include pattern for file discovery\n- `--exclude \u003cpattern\u003e` - Exclude pattern for file discovery\n- `--config \u003cpath\u003e` - Path to probitas config file\n- `--verbose, -v` - Verbose output\n- `--quiet, -q` - Suppress output\n- `--debug, -d` - Debug output\n\n**Examples:**\n\n```bash\n# Format all scenario files\nprobitas fmt\n\n# Format scenarios in specific directory\nprobitas fmt api/\n\n# Format with custom pattern\nprobitas fmt --include \"e2e/**/*.probitas.ts\"\n```\n\n**Note:** Runs `deno fmt --no-config` on discovered scenario files. Uses\nincludes/excludes from probitas config (same as run/list).\n\n### `probitas lint [paths...] [options]`\n\nLint scenario files using Deno's linter.\n\n**Options:**\n\n- `--include \u003cpattern\u003e` - Include pattern for file discovery\n- `--exclude \u003cpattern\u003e` - Exclude pattern for file discovery\n- `--config \u003cpath\u003e` - Path to probitas config file\n- `--verbose, -v` - Verbose output\n- `--quiet, -q` - Suppress output\n- `--debug, -d` - Debug output\n\n**Examples:**\n\n```bash\n# Lint all scenario files\nprobitas lint\n\n# Lint scenarios in specific directory\nprobitas lint api/\n\n# Lint with custom pattern\nprobitas lint --include \"e2e/**/*.probitas.ts\"\n```\n\n**Note:** Runs `deno lint --no-config` on discovered scenario files. Uses\nincludes/excludes from probitas config (same as run/list). Automatically\nexcludes rules: `no-import-prefix`, `no-unversioned-import`.\n\n### `probitas check [paths...] [options]`\n\nType-check scenario files using Deno's type checker.\n\n**Options:**\n\n- `--include \u003cpattern\u003e` - Include pattern for file discovery\n- `--exclude \u003cpattern\u003e` - Exclude pattern for file discovery\n- `--config \u003cpath\u003e` - Path to probitas config file\n- `--verbose, -v` - Verbose output\n- `--quiet, -q` - Suppress output\n- `--debug, -d` - Debug output\n\n**Examples:**\n\n```bash\n# Type-check all scenario files\nprobitas check\n\n# Check scenarios in specific directory\nprobitas check api/\n\n# Check with custom pattern\nprobitas check --include \"e2e/**/*.probitas.ts\"\n```\n\n**Note:** Runs `deno check --no-config` on discovered scenario files. Uses\nincludes/excludes from probitas config (same as run/list).\n\n## Selectors\n\nSelectors filter scenarios by name or tags:\n\n- `login` - Match scenarios with \"login\" in name\n- `tag:api` - Match scenarios tagged with \"api\"\n- `!tag:slow` - Exclude scenarios tagged with \"slow\"\n- `tag:api,tag:critical` - Match both tags (AND)\n- Multiple `-s` flags combine with OR logic\n\n## Exit Codes\n\n- `0` - Success (all scenarios passed)\n- `1` - Failure (one or more scenarios failed)\n- `2` - Usage error (invalid arguments)\n- `4` - No scenarios found\n\n## Configuration\n\nCreate a configuration file in your project root:\n\n```jsonc\n{\n  \"includes\": [\"probitas/**/*.probitas.ts\"],\n  \"excludes\": [\"**/*.skip.probitas.ts\"],\n  \"reporter\": \"list\", // Options: dot, list, json, tap\n  \"maxConcurrency\": 4,\n  \"maxFailures\": 0, // 0 = continue all\n  \"timeout\": \"30s\",\n  \"selectors\": [\"!tag:wip\"]\n}\n```\n\n**Supported config file names** (in priority order):\n\n1. `probitas.json`\n2. `probitas.jsonc`\n3. `.probitas.json`\n4. `.probitas.jsonc`\n\nThe CLI searches for config files in the current directory and parent\ndirectories. Configuration values can be overridden by command-line flags.\n\n## Development\n\n### Using Nix (recommended)\n\n```bash\n# Enter development shell with all dependencies\nnix develop\n\n# Or run commands directly\nnix develop -c deno task test\n```\n\n### Without Nix\n\nRequires [Deno](https://deno.land/) v2.x or later.\n\n```bash\n# Run tests\ndeno task test\n\n# Run all checks\ndeno task verify\n```\n\n## License\n\nSee [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobitas-test%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprobitas-test%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobitas-test%2Fcli/lists"}