Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cake-contrib/cake.appcenter
Cake Addin for AppCenter CLI interface.
https://github.com/cake-contrib/cake.appcenter
cake cake-addin
Last synced: 21 days ago
JSON representation
Cake Addin for AppCenter CLI interface.
- Host: GitHub
- URL: https://github.com/cake-contrib/cake.appcenter
- Owner: cake-contrib
- License: mit
- Created: 2018-04-16T10:43:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-08T10:00:32.000Z (11 months ago)
- Last Synced: 2024-04-26T20:21:24.211Z (8 months ago)
- Topics: cake, cake-addin
- Language: C#
- Homepage:
- Size: 227 KB
- Stars: 8
- Watchers: 7
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Cake.AppCenter
A Cake AddIn that extends Cake with [AppCenter](https://github.com/Microsoft/appcenter-cli/) command tools. Based on older addin version for MobileCenter.
[![cakebuild.net](https://img.shields.io/badge/WWW-cakebuild.net-blue.svg)](http://cakebuild.net/)
[![NuGet](https://img.shields.io/nuget/v/Cake.AppCenter.svg)](https://www.nuget.org/packages/Cake.AppCenter)|Branch|Status|
|------|------|
|Master|[![Build status](https://ci.appveyor.com/api/projects/status/github/cake-contrib/Cake.AppCenter?branch=master&svg=true)](https://ci.appveyor.com/project/cakecontrib/cake-appcenter)|
|Develop|[![Build status](https://ci.appveyor.com/api/projects/status/github/cake-contrib/Cake.AppCenter?branch=develop&svg=true)](https://ci.appveyor.com/project/cakecontrib/cake-appcenter)|## Important
1.4.0
* Supports AppCenter 2.10.10
* References Cake 4.0.0
* Drops support for .NET Framework
* Supports .net 6+1.3.1 References Cake 1.0.0
1.3.0 Supports AppCenter 2.7.3
1.2.0 References Cake 0.33
1.0.0 References Cake 0.26 and .NET Standard 2.0.
## Requirements
App Center Command Line Interface (CLI) must be installed, and Cake.AppCenter does not work without it (error will be *AppCenter: Could not locate executable.* if you try to use Cake.AppCenter without appcenter-cli). This can be done by installing [Node.js](https://nodejs.org/) first, and then by using **npm** from command-line/terminal
```
npm install -g appcenter-cli
```or run with sudo if you get permission errors
```
sudo npm install -g appcenter-cli
```## Including addin
Including addin in cake script is easy.
```
#addin "Cake.AppCenter"
```
## UsageTo use the addin just add it to Cake call the aliases and configure any settings you want.
```csharp
#addin "Cake.AppCenter"...
// How to login using a token
Task("Login")
.Does(() => {
// or more containers at once
AppCenterLogin(new AppCenterLoginSettings{ Token = "YOUR_TOKEN_HERE" });
)};
```
Other commands follow same convention.This version is built against AppCenter CLI tools version 1.0.16.
## Contributions
Code is mostly autogenerated with a custom parser. If you want to contribute, ask first by creating an issue.
## Credits
Brought to you by [Miha Markic](https://github.com/MihaMarkic) ([@MihaMarkic](https://twitter.com/MihaMarkic/)) and contributors.