Skip to content

Commit

Permalink
feat: show install command after publish package
Browse files Browse the repository at this point in the history
  • Loading branch information
edumudu committed Apr 6, 2022
1 parent e56a4e0 commit 557d0e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/commands/publish.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const publish = () => {

fs.writeFileSync(packagesInfoPath, JSON.stringify(packagesInfo, null, 2));
console.log(chalk.green('Package published successfully!'));
console.log(chalk.blueBright(`You can run "loctry install ${packageInfo.name}" to install it.`));
};

export const command = 'publish';
Expand Down

0 comments on commit 557d0e6

Please sign in to comment.