rsm-hcd / AndcultureCode.Cli

and-cli command-line tool to manage the development of software applications
https://andculture.com
Apache License 2.0
14 stars 15 forks source link

'install' command should add a new line/comment about aliases added #20

Closed brandongregoryscott closed 5 years ago

brandongregoryscott commented 5 years ago

Description The 'install' command should more gracefully modify the developer's .bashrc file. In my case, it did not add a new line before adding the two aliases, so one of the aliases was dropped onto the ending bracket of my .bashrc and and unexpected EOF was thrown when resourcing the file: bash: /home/brandon/.bashrc: line 625: syntax error: unexpected end of file

}alias and-cli='npx and-cli' alias and-cli-dev='/home/brandon/AndcultureCode.Cli/cli.js'

Additionally, a simple comment about where/why these aliases were added might be nice for someone referencing their bash file, something linking back to the repo or npm package