1.1.1 • Published 1 year ago

@preemstudio/zai v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

zai

Badge Mascot

Installation

npm install @preemstudio/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}

Testing

pnpm run test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

If you've found a bug regarding security please mail security@preem.studio instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see the License File for more information.