@shailesh-714/git-bot 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,10 +16,12 @@ configurable conventions, and can also create a matching branch name when you st
16
16
 
17
17
  ## Installation
18
18
 
19
- Published to the public npm registry.
20
-
21
19
  Requires **Node.js >= 20**.
22
20
 
21
+ ### npm (recommended)
22
+
23
+ Published to the public npm registry.
24
+
23
25
  ```bash
24
26
  npm install -g @shailesh-714/git-bot
25
27
  ```
@@ -30,6 +32,20 @@ Run without installing:
30
32
  npx @shailesh-714/git-bot commit --dry-run
31
33
  ```
32
34
 
35
+ ### curl (GitHub Releases)
36
+
37
+ Install the latest release directly from GitHub:
38
+
39
+ ```bash
40
+ curl -fsSL https://github.com/Shailesh-714/git-bot/releases/latest/download/install.sh | bash
41
+ ```
42
+
43
+ Install a specific version:
44
+
45
+ ```bash
46
+ curl -fsSL https://github.com/Shailesh-714/git-bot/releases/latest/download/install.sh | bash -s -- --version 0.1.1
47
+ ```
48
+
33
49
  ### Manual
34
50
 
35
51
  If you already have the repo cloned:
@@ -78764,7 +78764,7 @@ async function run(action) {
78764
78764
  process.exit(1);
78765
78765
  }
78766
78766
  }
78767
- var program2 = new Command().name("git-bot").description("git-bot: an LLM-powered CLI assistant for conventional commits and branch names.").version(true ? "0.1.1" : "0.0.0").option("--config <path>", "Path to config TOML").option("-v, --verbose", "Show additional debug output").configureHelp({ sortSubcommands: true });
78767
+ var program2 = new Command().name("git-bot").description("git-bot: an LLM-powered CLI assistant for conventional commits and branch names.").version(true ? "0.1.2" : "0.0.0").option("--config <path>", "Path to config TOML").option("-v, --verbose", "Show additional debug output").configureHelp({ sortSubcommands: true });
78768
78768
  program2.command("commit").description("Generate a commit message from staged (or unstaged) changes.").option("--dry-run", "Print the message but do not commit").option("-a, --all", "Stage all changes before committing").option("-b, --branch", "Also create a branch for this commit").option("--issue <id>", "Issue/ticket identifier to include in the branch name").option("--repo <path>", "Path to the git repository").option("-y, --yes", "Skip confirmation prompts").action((options, command) => run(() => commitAction(options, command)));
78769
78769
  program2.command("branch").description("Generate a branch name from staged (or unstaged) changes.").option("--dry-run", "Print the branch name but do not create it").option("--issue <id>", "Issue/ticket identifier to include in the branch name").option("--repo <path>", "Path to the git repository").option("-y, --yes", "Skip confirmation prompts").action((options, command) => run(() => branchAction(options, command)));
78770
78770
  program2.command("config").description("Show or initialize configuration.").option("--init", "Write an example config file to the default location").action((options, command) => run(() => configAction(options, command)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shailesh-714/git-bot",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "git-bot: an LLM-powered CLI assistant for conventional commits and branch names.",
5
5
  "type": "module",
6
6
  "main": "bundle/git-bot.cjs",