berget 2.0.5 → 2.0.6

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/dist/index.js CHANGED
@@ -31,15 +31,9 @@ Version: ${package_json_1.version}`)
31
31
  // Check for .bergetconfig if not running a command
32
32
  if (process.argv.length <= 2) {
33
33
  (0, config_checker_1.checkBergetConfig)();
34
- // Show helpful welcome message
35
- console.log(chalk_1.default.blue('\nWelcome to the Berget CLI!'));
36
- console.log(chalk_1.default.blue('Common commands:'));
37
- console.log(chalk_1.default.blue(` ${chalk_1.default.bold('berget auth login')} - Log in to Berget`));
38
- console.log(chalk_1.default.blue(` ${chalk_1.default.bold('berget models list')} - List available AI models`));
39
- console.log(chalk_1.default.blue(` ${chalk_1.default.bold('berget chat run')} - Start a chat session`));
40
- console.log(chalk_1.default.blue(` ${chalk_1.default.bold('berget code init')} - Initialize AI coding assistant`));
41
- console.log(chalk_1.default.blue(` ${chalk_1.default.bold('berget api-keys list')} - List your API keys`));
42
- console.log(chalk_1.default.blue(`\nRun ${chalk_1.default.bold('berget --help')} for a complete list of commands.`));
34
+ // Show the full help (including logo and commands)
35
+ commander_1.program.outputHelp();
36
+ process.exit(0);
43
37
  }
44
38
  // Add helpful suggestions for common command mistakes
45
39
  const commonMistakes = {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "berget",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "berget": "dist/index.js"
package/index.ts CHANGED
@@ -33,37 +33,9 @@ registerCommands(program)
33
33
  if (process.argv.length <= 2) {
34
34
  checkBergetConfig()
35
35
 
36
- // Show helpful welcome message
37
- console.log(chalk.blue('\nWelcome to the Berget CLI!'))
38
- console.log(chalk.blue('Common commands:'))
39
- console.log(
40
- chalk.blue(` ${chalk.bold('berget auth login')} - Log in to Berget`)
41
- )
42
- console.log(
43
- chalk.blue(
44
- ` ${chalk.bold('berget models list')} - List available AI models`
45
- )
46
- )
47
- console.log(
48
- chalk.blue(
49
- ` ${chalk.bold('berget chat run')} - Start a chat session`
50
- )
51
- )
52
- console.log(
53
- chalk.blue(
54
- ` ${chalk.bold(
55
- 'berget code init'
56
- )} - Initialize AI coding assistant`
57
- )
58
- )
59
- console.log(
60
- chalk.blue(` ${chalk.bold('berget api-keys list')} - List your API keys`)
61
- )
62
- console.log(
63
- chalk.blue(
64
- `\nRun ${chalk.bold('berget --help')} for a complete list of commands.`
65
- )
66
- )
36
+ // Show the full help (including logo and commands)
37
+ program.outputHelp()
38
+ process.exit(0)
67
39
  }
68
40
 
69
41
  // Add helpful suggestions for common command mistakes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "berget",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "berget": "dist/index.js"