Core engine for serverless-puresec-cli
- Python 3.4+
See Serverless plugin: serverless-puresec-cli.
Install dependencies, run the tests, and run the CLI (without pip
installing).
./setup.py install
./setup.py test
python3 -m puresec_cli --help
Then fork and pull request!
- Set
__version__
inpuresec_cli/__init__.py
- Commit, and run
git tag vX.X.X
replacingX.X.X
with the new version - Set
analytics.write_key
inpuresec_cli/stats.py
DON'T COMMIT IT - Run
./setup.py sdist upload
- Update version of https://github.com/puresec/serverless-puresec-cli
- Update backend latest version
In order to continue improving this tool, the CLI will be sending anonymous statistics about your usage. All reported information contains non-personal predictable information from your execution, along with a random unique identifier that is attach to you. Predictable means that it won't send any local paths, function names, etc.
To opt out of anonymous statistics simply run:
puresec --stats disable # or 'enable' if it's a wonderful day
One final report will be transmitted about your unsubscription, with no further details.