@_xtribe/cli 1.0.0-beta.14 → 1.0.0-beta.16
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/install-tribe.js +26 -14
- package/package.json +1 -1
package/install-tribe.js
CHANGED
|
@@ -697,19 +697,20 @@ async function main() {
|
|
|
697
697
|
console.log('\n' + chalk.bold.green('✨ TRIBE is ready!'));
|
|
698
698
|
console.log('');
|
|
699
699
|
|
|
700
|
-
//
|
|
701
|
-
const
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
700
|
+
// Provide immediate access to tribe command
|
|
701
|
+
const tribePath = path.join(binDir, 'tribe');
|
|
702
|
+
|
|
703
|
+
log.info('To use tribe commands:');
|
|
704
|
+
console.log(chalk.green(` ${tribePath} # Use full path now`));
|
|
705
|
+
console.log(chalk.yellow(` source ~/.${process.env.SHELL?.includes('zsh') ? 'zshrc' : 'bashrc'} # Or update PATH`));
|
|
706
|
+
console.log(chalk.cyan(` alias tribe="${tribePath}" # Or create temporary alias`));
|
|
707
|
+
console.log(' ' + chalk.gray('or restart your terminal'));
|
|
708
|
+
console.log('');
|
|
708
709
|
|
|
709
710
|
log.info('Quick start:');
|
|
710
|
-
console.log(
|
|
711
|
-
console.log(
|
|
712
|
-
console.log(
|
|
711
|
+
console.log(` ${tribePath} # Launch interactive CLI`);
|
|
712
|
+
console.log(` ${tribePath} status # Check cluster status`);
|
|
713
|
+
console.log(` ${tribePath} create-task # Create a new task`);
|
|
713
714
|
console.log('');
|
|
714
715
|
log.info('First time? The CLI will guide you through creating your first project!');
|
|
715
716
|
} else {
|
|
@@ -725,10 +726,21 @@ async function main() {
|
|
|
725
726
|
console.log('\n' + chalk.bold.green('✨ TRIBE is ready!'));
|
|
726
727
|
log.success('Cluster is already running');
|
|
727
728
|
console.log('');
|
|
729
|
+
|
|
730
|
+
// Provide immediate access to tribe command
|
|
731
|
+
const tribePath = path.join(binDir, 'tribe');
|
|
732
|
+
|
|
733
|
+
log.info('To use tribe commands:');
|
|
734
|
+
console.log(chalk.green(` ${tribePath} # Use full path now`));
|
|
735
|
+
console.log(chalk.yellow(` source ~/.${process.env.SHELL?.includes('zsh') ? 'zshrc' : 'bashrc'} # Or update PATH`));
|
|
736
|
+
console.log(chalk.cyan(` alias tribe="${tribePath}" # Or create temporary alias`));
|
|
737
|
+
console.log(' ' + chalk.gray('or restart your terminal'));
|
|
738
|
+
console.log('');
|
|
739
|
+
|
|
728
740
|
log.info('Commands:');
|
|
729
|
-
console.log(
|
|
730
|
-
console.log(
|
|
731
|
-
console.log(
|
|
741
|
+
console.log(` ${tribePath} # Launch interactive CLI`);
|
|
742
|
+
console.log(` ${tribePath} status # Check status`);
|
|
743
|
+
console.log(` ${tribePath} create-task # Create a new task`);
|
|
732
744
|
}
|
|
733
745
|
} else {
|
|
734
746
|
console.log('\n' + chalk.bold('Next Steps:'));
|