Command line tool to administrate ALM (Application lifecycle management) solutions such as Azure DevOps, GitHub, GitLab.
For simple calls, you may first look at the officials clients like Azure DevOps CLI, GitHub CLI, GitLab CLI.
- Install .NET CLI
- Install
almopsglobally
dotnet tool install --global almops- If needed, uninstall
almops
dotnet tool uninstall -g almopsdocker run -it --rm --name almops \
-e almops__BaseUrl="https://dev.azure.com/***" -e almops__Username="***" -e almops__Token="***" \
devprofr/almops:latest list projectsCreate a Personal Access Token (PAT) in your Azure DevOps organization (ref. Authenticate access with personal access tokens).
almops config --org <organization> --user <username> --token <token>SET almops__BaseUrl=<url>
SET almops__Username=<username>
SET almops__Token=<token>
# displays tool version
almops --version
# displays help
almops --help
# configures
almops config --org https://dev.azure.com/<organization> --user <email_address> --token <token>
# lists
almops list projects# lists all builds
almops list builds -p myproject
# queues a new build
almops queue build -p myproject --id 3 --branch mybranch
# shows build information
almops show build -p myproject --id 264
# lists build artifacts
almops list artifacts -p myproject --id 90
# creates a new release from a feature branch with the release definition id
almops create release -p myproject --id 1 --branch "feature/something-awesome"
# creates a new release from main branch with the release name
almops create release -p myproject --name myreleasenameFollow the Contributing guide.