darkmsph1t / _spartan

npm project to package & configure common security middleware && add security.js file to code repo
5 stars 0 forks source link

Allow users to update a specific part of the policy from the command-line #57

Open darkmsph1t opened 6 years ago

darkmsph1t commented 6 years ago

Rather than making users go through the whole questionnaire when the -u option is specified, users should be allowed to type the section of the policy that they want to update. Need to determine if (and how) this puts them into just that question or if it just takes them directly to security.json... Future enhancement => users can run _spartan -u -c which will prompt to start the _spartand daemon that continuously updates security.js by watching for changes to security.json...could be especially useful in the electron app