-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI for Frigg - Install command for now #322
CLI for Frigg - Install command for now #322
Conversation
Need to work on: [] tests [] more prompts [] aws logs interfering [] more robust colors etc, maybe use some tooling [] detect where envs are handled and just add there instead of both places [] make the envs retain their caps case with the app name prefix [] Add prompts for editing the integration concept [] Add more commands that would be helpful during development
function commitChanges(backendPath, apiModuleName) { | ||
const apiModulePath = path.join(path.dirname(backendPath), 'src', 'integrations', `${apiModuleName}Integration.js`); | ||
try { | ||
execSync(`git add ${apiModulePath}`); |
Check warning
Code scanning / CodeQL
Shell command built from environment values Medium
absolute path
… templating. Still needs some finishing work but this should do for now!
|
🚀 PR was released in |
New CLI for Frigg, with the first command being
frigg install <apiModuleName>
. We'll see where it takes us.Some ideas/areas of improvement: