coffee-tools / coffee-tools/coffee

Add Branch Specification for Plugin Installation

Open
#205 0 comments 1 reaction 1 assignee Claimed by @vincenzopalazzo View on GitHub
feature request P-hight
Dominant language
Rust
Stars
11
Forks
13
PR merge metrics
No merged PRs in 30d

Description

# Description:
The objective of this enhancement is to let users specify a branch when installing plugins using `coffee`.
> It is important to note that this proposal assumes the presence of only one plugin in each remote repository.

# Goal:
- Allow users to install a plugin from a specific branch using the command:
```shell
coffee install --branch `
```

# Existing Features:
- The `repository` struct already includes a `branch` field.
- A function, `fast_forward(path: &str, branch: &str) -> Result`, is available to facilitate fast-forwarding to a specified branch.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.