@abscoders/abs-cli
v1.0.5
Published
Absolution Angular SaaS project generator CLI
Readme
abs-cli
Internal CLI for generating Absolution Angular SaaS starter applications.
Install locally for testing
npm install
npm linkInstall ABS CLI
npm config set @flxc4p4str:registry https://npm.pkg.github.com
npm login --registry=https://npm.pkg.github.com
npm install -g @flxc4p4str/abs-cliThen from any target directory:
abs newOr specify the name inline:
abs new --name timesheetsUse a custom target directory instead of the current working directory:
abs new --name timesheets --directory C:\projectsBehavior
abs new will:
- prompt for the project name if not supplied
- normalize the name to kebab-case
- create a new Angular app with the latest CLI
- copy bundled templates and images
- replace template tokens
- merge
angular.template.jsonintoangular.json - merge
package.template.jsonintopackage.json - run
npm install - initialize Git and add
origin - open VS Code unless
--no-openis used
Defaults
- API base URL:
https://absapi.absolution1.com - Git remote format:
[email protected]:flxc4p4str/<project>.git - Target directory: current working directory unless
--directoryis supplied
Publish
When ready, publish to your private registry and have coworkers install globally.
