Gamma's toolbox used to bootstrap new projects and for all the common operations.
Full documentation: https://git.sourceai.io/pages/freier-niels/gamma-cli/
pip3 install gamma-cli
to see the commands
To login with Github
you will be prompted your token, you need to create one on: https://git.sourceai.io/settings/tokens
The token will be saved to be used with other commands
To create a new project
gamma new project
gamma new project --path /tmp/
To create a new Trello board
gamma new trello
To request a new VM
gamma new vm
You will be prompted few options for your project then if you want to init a git project and to push the first commit to Github.
to create a .gitignore file
gamma gitignore options to get the available options
gamma gitignore generate python flask > .gitignore to generate a .gitgnore file in the current directory
Build && Update
Each push/PR to the project will be executed in Azure Devops, following this workflow:
- Testing the project in Windows and Mac VM
- Running code analysis with https://sonarcloud.io
- Building and publishing the doc on https://git.sourceai.io/pages/freier-niels/gamma-cli/
- Publishing the latest release on https://pypi.org
- updating the release number on the gist https://gist.github.com/stumpyfr/b4f89c297a4e479049ff463fed790b37, allowing the tool to propose the update to the users
Update on client side
The tool is automatically checking at every run if a newer version exist and display a warning to the user about the need to update.
The version if exposed here: https://gist.github.com/stumpyfr/b4f89c297a4e479049ff463fed790b37 and automatically updated by the CI when the project version is bump and a new release is published.
The projects is using two types of test, both are combined to cover the test of the project from a technical point of view (TDD) and a functional point of view (BDD).
pytest will execute all the unit tests, display the test coverage and generate the coverage file for the CI
behave will execute all the "functional" tests.
The project is sending telemetry of two types:
- usage with event for each actions (https://azure.microsoft.com/en-us/services/monitor/)
- exception in case of crash (https://sentry.io)
The data is used to allow us to understand the usage of the tool and be able to quickly fix issues.
If you want to opt-out from the telemetry, you need to use the
--no-telemetry options or set the environement variable
The project is using
black for the code formating: https://github.com/psf/black
The project is using
punch to handle the version bumping: https://github.com/lgiordani/punch
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size gamma_cli-0.1.11-py3-none-any.whl (26.8 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size gamma-cli-0.1.11.tar.gz (19.7 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for gamma_cli-0.1.11-py3-none-any.whl