Steps by AI CLI tool to create interaction graph from source
npm install @stepsbyai/cli---
1. Install Steps globally to use in any repository:
``sh`
npm install -g @steps-by-ai/cli
You can call OpenCommit directly to generate a commit message for your staged changes:
`sh`
git add
steps
To specify the files to look for components and pages:
`shReact components
oc config set filetypes=tsx,jsx
`
The default filetypes set is tsx,jsx
To specify the language used to generate commit messages:
`shde, German ,Deutsch
oc config set language=de
oc config set language=German
oc config set language=Deutsch
The default language set is English
All available languages are currently listed in the i18n folder$3
You can ignore files from submission to Steps By AI by creating a .stepsignore file. For example:`ignorelang
path/to/large-asset.zip
*/.jpg
`This is useful for preventing opencommit from uploading artifacts and large files.
By default, steps ignores files matching:
out/, dist/, build/, node_modules/, -lock. and *.lockGit hook
prepare-commit-msg hook. Hook integrates with you IDE Source Control and allows you edit the message before commit.To set the hook:
`sh
steps hook set
`To unset the hook:
`sh
steps hook unset
`To use the hook:
`sh
git add
git commit
`Or follow the process of your IDE Source Control feature, when it calls
git commit` command — OpenCommit will integrate into the flow.We would like to express our gratitude to the dev at OpenCommit for providing inspiration for the structure and design of the CLI for this project. We appreciate their dedication to open-source software and their commitment to making development more accessible and enjoyable for everyone.