{"id":15546888,"url":"https://github.com/codeware-sthlm/cdwr-cli","last_synced_at":"2026-01-21T09:02:38.845Z","repository":{"id":65696004,"uuid":"594727260","full_name":"codeware-sthlm/cdwr-cli","owner":"codeware-sthlm","description":"Codeware Sthlm Developer CLI","archived":false,"fork":false,"pushed_at":"2024-10-23T04:15:22.000Z","size":2387,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-23T18:11:26.316Z","etag":null,"topics":["cli","commitizen","conventional-commits","esm","npm","npmjs","oclif","semver","verdaccio","yarn","yarn-berry"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@cdwr/cli","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/codeware-sthlm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-01-29T13:13:04.000Z","updated_at":"2023-05-02T07:00:59.000Z","dependencies_parsed_at":"2024-02-17T10:23:01.669Z","dependency_job_id":"a07342e9-432d-4e2b-836d-9d65119a6edf","html_url":"https://github.com/codeware-sthlm/cdwr-cli","commit_stats":{"total_commits":92,"total_committers":5,"mean_commits":18.4,"dds":"0.32608695652173914","last_synced_commit":"774d0f69dc3c2334b8c999f2ba79e3a5a72e4b8f"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/codeware-sthlm/cdwr-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeware-sthlm%2Fcdwr-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeware-sthlm%2Fcdwr-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeware-sthlm%2Fcdwr-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeware-sthlm%2Fcdwr-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeware-sthlm","download_url":"https://codeload.github.com/codeware-sthlm/cdwr-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeware-sthlm%2Fcdwr-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28630938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","commitizen","conventional-commits","esm","npm","npmjs","oclif","semver","verdaccio","yarn","yarn-berry"],"created_at":"2024-10-02T13:05:13.064Z","updated_at":"2026-01-21T09:02:37.626Z","avatar_url":"https://github.com/codeware-sthlm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv style=\"font-size: 36px;\"\u003e\n\n  Codeware Sthlm Developer CLI\n\n\u003c/div\u003e\n\n![GitHub Workflow Status (with branch)](https://img.shields.io/github/actions/workflow/status/codeware-sthlm/cdwr-cli/release.yml?branch=master)\n![npm (scoped)](https://img.shields.io/npm/v/@cdwr/cli)\n[![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)]()\n\n\u003chr\u003e\n\nTable of contents\n\n* [Description](#description)\n* [Recipes](#recipes)\n* [General Usage](#general-usage)\n* [Commands](#commands)\n* [CLI Development](#cli-development)\n\n# Description\n\nThis is a CLI to make local development a bit easier and structured. Some commonly used tools and scripts are bundled and provided by CLI commands.\n\nThough it's a public repo this CLI is aimed for Codeware Sthlm developers. If anyone finds it useful we're more than happy to share our code, or the CLI itself from NPM.\n\n# Recipes\n\n## Setup a local npm registry using [verdaccio](https://verdaccio.org/)\n\n```sh\n# Start verdaccio\ncdwr registry start\n\n# Change your local registry setting to use the verdaccio host\ncdwr registry set local\n\n# Check status and get registry info\ncdwr registry status\n```\n\nDeployment to npm via `npm publish` should end up in verdaccio repository.\n\nThe repository content is accessed via \u003chttp://localhost:4373\u003e.\n\n```sh\n# Stop verdaccio\ncdwr registry stop\n\n# Verify it's stopped\ncdwr registry status\n```\n\n# General Usage\n\n\u003c!-- usage --\u003e\n```sh-session\n$ npm install -g @cdwr/cli\n$ cdwr COMMAND\nrunning command...\n$ cdwr (--version)\n@cdwr/cli/1.3.0 linux-x64 node-v18.18.0\n$ cdwr --help [COMMAND]\nUSAGE\n  $ cdwr COMMAND\n...\n```\n\u003c!-- usagestop --\u003e\n\n# Commands\n\n\u003c!-- commands --\u003e\n* [`cdwr autocomplete [SHELL]`](#cdwr-autocomplete-shell)\n* [`cdwr commands`](#cdwr-commands)\n* [`cdwr help [COMMANDS]`](#cdwr-help-commands)\n* [`cdwr search`](#cdwr-search)\n* [`cdwr version`](#cdwr-version)\n\n## `cdwr autocomplete [SHELL]`\n\ndisplay autocomplete installation instructions\n\n```\nUSAGE\n  $ cdwr autocomplete [SHELL] [-r]\n\nARGUMENTS\n  SHELL  shell type\n\nFLAGS\n  -r, --refresh-cache  Refresh cache (ignores displaying instructions)\n\nDESCRIPTION\n  display autocomplete installation instructions\n\nEXAMPLES\n  $ cdwr autocomplete\n\n  $ cdwr autocomplete bash\n\n  $ cdwr autocomplete zsh\n\n  $ cdwr autocomplete --refresh-cache\n```\n\n_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v2.1.9/src/commands/autocomplete/index.ts)_\n\n## `cdwr commands`\n\nlist all the commands\n\n```\nUSAGE\n  $ cdwr commands [--json] [-h] [--hidden] [--tree] [--columns \u003cvalue\u003e | -x] [--sort \u003cvalue\u003e] [--filter\n    \u003cvalue\u003e] [--output csv|json|yaml |  | [--csv | --no-truncate]] [--no-header | ]\n\nFLAGS\n  -h, --help         Show CLI help.\n  -x, --extended     show extra columns\n  --columns=\u003cvalue\u003e  only show provided columns (comma-separated)\n  --csv              output is csv format [alias: --output=csv]\n  --filter=\u003cvalue\u003e   filter property by partial string matching, ex: name=foo\n  --hidden           show hidden commands\n  --no-header        hide table header from output\n  --no-truncate      do not truncate output to fit screen\n  --output=\u003coption\u003e  output in a more machine friendly format\n                     \u003coptions: csv|json|yaml\u003e\n  --sort=\u003cvalue\u003e     property to sort by (prepend '-' for descending)\n  --tree             show tree of commands\n\nGLOBAL FLAGS\n  --json  Format output as json.\n\nDESCRIPTION\n  list all the commands\n```\n\n_See code: [@oclif/plugin-commands](https://github.com/oclif/plugin-commands/blob/v2.2.14/src/commands/commands.ts)_\n\n## `cdwr help [COMMANDS]`\n\nDisplay help for cdwr.\n\n```\nUSAGE\n  $ cdwr help [COMMANDS] [-n]\n\nARGUMENTS\n  COMMANDS  Command to show help for.\n\nFLAGS\n  -n, --nested-commands  Include all nested commands in the output.\n\nDESCRIPTION\n  Display help for cdwr.\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.9/src/commands/help.ts)_\n\n## `cdwr search`\n\nSearch for a command.\n\n```\nUSAGE\n  $ cdwr search\n\nDESCRIPTION\n  Search for a command.\n\n  Once you select a command, hit enter and it will show the help for that command.\n```\n\n_See code: [@oclif/plugin-search](https://github.com/oclif/plugin-search/blob/v0.0.16/dist/commands/search.ts)_\n\n## `cdwr version`\n\n```\nUSAGE\n  $ cdwr version [--json] [--verbose]\n\nFLAGS\n  --verbose  Show additional information about the CLI.\n\nGLOBAL FLAGS\n  --json  Format output as json.\n\nFLAG DESCRIPTIONS\n  --verbose  Show additional information about the CLI.\n\n    Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.\n```\n\n_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v1.3.3/src/commands/version.ts)_\n\u003c!-- commandsstop --\u003e\n\n# CLI Development\n\n## Prerequisites\n\n`tsx` must be globally installed to be able to start CLI in development mode.\n\n```sh\nnpm i -g tsx\n```\n\n## Setup\n\n```sh\ngit clone https://github.com/codeware-sthlm/cdwr-cli.git [PATH]\ncd [PATH]\nyarn\n```\n\n## Start\n\nLaunch development mode\n\n```sh\nbin/dev.js [COMMAND]\n```\n\nLaunch production build\n\n```sh\nyarn build\n```\n\n```sh\nbin/run.js [COMMAND]\n```\n\nLinting\n\n```sh\nyarn lint\n```\n\nUnit tests\n\n```sh\nyarn test\n```\n\n## Create local tarball releases (optional)\n\n```sh\nyarn release:local\n```\n\n## Commit some changes\n\n```sh\n# Stage files\ngit add [FILES]\n\n# Start interactive Git commit CLI\nyarn commit\n# or\nyarn c\n\n# with ai support (setup required)\nyarn commit ai\n# or\nyarn cai\n```\n\n### Setup OpenAI token\n\n\u003chttps://cz-git.qbb.sh/recipes/openai#setup-openai-token\u003e\n\n```sh\nnpx czg --openai-token=sk-xxxxx\n```\n\n\u003e Token is saved to `~/.config/.czrc`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeware-sthlm%2Fcdwr-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeware-sthlm%2Fcdwr-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeware-sthlm%2Fcdwr-cli/lists"}