api2cli 0.3.3 → 0.3.5
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 +1 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2470,9 +2470,7 @@ function addToPath(app, distDir) {
|
|
|
2470
2470
|
symlinkSync(target, linkPath);
|
|
2471
2471
|
ensureBinInPath();
|
|
2472
2472
|
console.log(`${import_picocolors5.default.green("+")} Linked ${import_picocolors5.default.bold(`${app}-cli`)} -> ${import_picocolors5.default.dim(linkPath)}`);
|
|
2473
|
-
console.log(`
|
|
2474
|
-
Run this to use it now:
|
|
2475
|
-
${import_picocolors5.default.cyan(`export PATH="$HOME/.local/bin:$PATH" && ${app}-cli --help`)}`);
|
|
2473
|
+
console.log(` ${import_picocolors5.default.dim("PATH updated in")} ${import_picocolors5.default.dim(getShellRc())}`);
|
|
2476
2474
|
}
|
|
2477
2475
|
function removeFromPath(app, _distDir) {
|
|
2478
2476
|
const linkPath = join6(BIN_DIR, `${app}-cli`);
|