Skip to content

Commit af75ab5

Browse files
feat: add 'i' alias for init command
• Add 'i' alias to init command for faster access • Update README to document init|i alias usage • Maintains consistency with existing commit|c alias
1 parent ac62329 commit af75ab5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ Initialize Labcommitr configuration in your project. This creates a `.labcommitr
9292
**Usage:**
9393
```bash
9494
lab init [options]
95+
lab i [options] # Short alias
9596
```
9697

9798
**Options:**

src/cli/commands/init/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ function configExists(projectRoot: string): boolean {
6262
*/
6363
export const initCommand = new Command("init")
6464
.description("Initialize labcommitr configuration in your project")
65+
.alias("i")
6566
.option("-f, --force", "Overwrite existing configuration")
6667
.option(
6768
"--preset <type>",

0 commit comments

Comments
 (0)