Skip to content

BombenProdukt/zai

Repository files navigation

zai

Badge Mascot

Be sure to browse through the changelog, code of conduct, contribution guidelines, license, and security policy.

Installation

npm install @bombenprodukt/zai -g

Usage

Initialize the configuration file
zai config init --github-token={token} --openapi-token={token}
Set a configuration key to a value
zai config set --key={key} --value={value}
Get a configuration value by key
zai config get --key={key}
Delete a configuration value by key
zai config unset --key={key}
Summarize unstaged or staged changes in a git repository
zai git commit --style={style} --only-staged={onlyStaged}
Summarize a GitHub pull request
zai git summarize pr --repo={org}/{repo} {--number=} {--state=open} {--style=changelog}
List all open PR's for selection
zai git summarize pr --repo=laravel/framework
List all closed PR's for selection
zai git summarize pr --repo=laravel/framework --state=closed
Summarize a specific PR by its number
zai git summarize pr --repo=laravel/framework --number=45943
Summarize a specific PR by its number responding in a "commit" style
zai git summarize pr --repo=laravel/framework --number=45943 --style=commit
Summarize a GitHub commit or range of commits
zai git summarize commit --repo={org}/{repo} {--sha=} {--base=} {--head=} {--style=changelog}
List recent commits to summarize
zai git summarize commit --repo=laravel/framework
List recent commits in a specific branch to summarize
zai git summarize commit --repo=laravel/framework --branch=10.x
Summarize a specific commit
zai git summarize commit --repo=laravel/framework {--sha=}
Summarize a specific commit responding in a "commit" style
zai git summarize commit --repo=laravel/framework {--sha=} --style=commit
Summarize a range of commits from the tagged version to master
zai git summarize commit --repo=laravel/framework --base=v10.0.1
Summarize a range of commits from the tagged version to another tagged version
zai git summarize commit --repo=laravel/framework --base=v10.0.1 --head=v10.0.2
Summarize a range of commits
zai git summarize commit --repo=laravel/framework --base={sha} --head={sha}
Summarize a range of commits (from the given commit to master
zai git summarize commit --repo=laravel/framework --base={sha}
Generate a test for a given file, type, language, framework, and syntax
zai test generate --file={path/to/file} --type={type} --language={language} --framework={framework} --syntax={syntax}
Generate a regular expression for a given subject and language
zai regex generate --subject={subject} --language={language}
Generate a cron expression for a given subject
zai cron generate --subject={subject}

About

AI-Assisted Development Workflows in a pragmatic CLI • Powered by OpenAI

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published