0.27.8 • Published 7 months ago

@oh-my-commit/cli v0.27.8

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

@oh-my-commit/cli

Command-line interface for Oh My Commit - an AI-powered Git commit message generator.

Installation

⚠️ Note: This package is currently under development and not yet published to npm registry.

Local Development

# Clone the repository
git clone https://github.com/oh-my-commit/oh-my-commit.git
cd oh-my-commit

# Install dependencies
pnpm install

# Build the package
pnpm build

# Link the package globally (optional)
cd packages/cli
pnpm link --global  # Create a global link
cd ../..            # Return to project root

After Release

Once the package is published to npm, you will be able to install it via:

Global Installation

npm install -g @oh-my-commit/cli
# or
yarn global add @oh-my-commit/cli
# or
pnpm add -g @oh-my-commit/cli

Local Installation

npm install @oh-my-commit/cli
# or
yarn add @oh-my-commit/cli
# or
pnpm add @oh-my-commit/cli

Usage

If installed globally:

omc # Generate commit message for staged changes

If installed locally:

npx omc # Using npx
# or
./node_modules/.bin/omc # Direct path
# or via package.json scripts:
# "scripts": {
#   "commit": "omc"
# }
pnpm commit

Features

  • AI-powered commit message generation
  • Supports custom AI providers
  • Integrates seamlessly with your Git workflow
  • Compatible with the Oh My Commit VSCode extension

Development

This package is part of the Oh My Commit monorepo. To develop locally:

# Install dependencies
pnpm install

# Build the package
pnpm build

# Watch mode during development
pnpm dev

Dependencies

License

MIT

0.27.8

7 months ago

0.27.7

7 months ago

0.27.6

7 months ago

0.27.5

10 months ago

0.27.4

10 months ago

0.27.3

10 months ago

0.27.2

10 months ago

0.27.1

10 months ago

0.27.0

10 months ago

0.26.8

10 months ago

0.26.7

10 months ago

0.26.6

10 months ago

0.26.5

10 months ago

0.26.4

10 months ago

0.26.3

10 months ago

0.26.1

11 months ago

0.26.0

11 months ago

0.25.12

11 months ago

0.25.11

11 months ago

0.25.10

11 months ago

0.25.9

11 months ago

0.25.0

11 months ago

0.23.10

11 months ago

0.23.6

11 months ago

0.23.4

11 months ago

0.23.3

11 months ago

0.23.2

11 months ago

0.23.1

11 months ago

0.23.0

11 months ago

0.22.18

11 months ago

0.22.17

11 months ago

0.22.16

11 months ago

0.22.15

11 months ago

0.22.14

11 months ago

0.22.13

11 months ago

0.22.12

11 months ago

0.22.11

11 months ago

0.22.10

11 months ago

0.22.9

11 months ago

0.22.5

11 months ago

0.22.3

11 months ago

0.22.1

11 months ago

0.22.0

11 months ago

0.21.7

11 months ago

0.21.6

11 months ago

0.21.5

11 months ago

0.21.4

11 months ago

0.21.3

11 months ago

0.21.2

11 months ago

0.21.1

11 months ago

0.21.0

11 months ago

0.20.0

11 months ago

0.19.0

11 months ago

0.18.0

11 months ago

0.17.2

11 months ago

0.17.0

11 months ago

0.16.1

11 months ago

0.16.0

11 months ago

0.15.2

11 months ago

0.15.1

11 months ago

0.15.0

11 months ago

0.14.2

11 months ago

0.14.1

11 months ago

0.14.0

11 months ago

0.12.0

11 months ago

0.11.0

11 months ago

0.10.0

11 months ago

0.9.1

11 months ago

0.9.0

11 months ago

0.8.0

11 months ago

0.7.1

11 months ago

0.7.0

11 months ago

1.0.0

11 months ago

0.6.0

11 months ago

0.5.1

11 months ago

0.5.0

11 months ago

0.2.8

11 months ago

0.2.7

11 months ago

0.2.4

11 months ago

0.2.3

11 months ago

0.2.2

11 months ago

0.2.1

11 months ago

0.2.0

11 months ago