Skip to content

Commit bd28627

Browse files
committed
Merged in release/0.8.0 (pull request #8)
Merge release/0.8.0
2 parents e4fc955 + 5d0b511 commit bd28627

File tree

5 files changed

+45
-3
lines changed

5 files changed

+45
-3
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,19 @@
22

33
[bb](https://bitbucket.org/gildas_cherruel/bb) is the missing command line interface for Bitbucket.
44

5+
The [Bitbucket Command Line Interface](https://bitbucket.org/gildas_cherruel/b) brings the power of the Bitbucket platform to your command line. Creating and merging Pull Requests, cloning repositories, and more are now just a few keystrokes away.
6+
57
## Installation
68

79
You can download the latest version of `bb` from the [downloads](https://bitbucket.org/gildas_cherruel/bb/downloads/) page.
810

9-
Once you get the `bb` executable, you can install it anywhere in your `$PATH`:
11+
Once you get the `bb` executable, you can install it anywhere in your `$PATH`.
12+
13+
You can also install `bb` with snap:
14+
15+
```bash
16+
snap install bitbucket-cli
17+
```
1018

1119
## Usage
1220

cmd/repository/list.go

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ func init() {
2929
listCmd.Flags().Var(&listOptions.Role, "role", "Role of the user in the repository")
3030
listCmd.Flags().Var(&listOptions.Workspace, "workspace", "Workspace to list repositories from")
3131
_ = listCmd.RegisterFlagCompletionFunc("workspace", listOptions.Workspace.CompletionFunc())
32+
_ = listCmd.RegisterFlagCompletionFunc("role", listOptions.Role.CompletionFunc())
3233
}
3334

3435
func listProcess(cmd *cobra.Command, args []string) (err error) {

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module bitbucket.org/gildas_cherruel/bb
22

3-
go 1.21.3
3+
go 1.21
44

55
require (
66
github.com/gildas/go-core v0.5.6

snap/snapcraft.yaml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: bitbucket-cli
2+
summary: Bitbucket CLI
3+
description: |
4+
The Bitbucket Command Line Interface brings the power of the Bitbucket
5+
platform to your command line. Creating and merging Pull Requests, cloning
6+
repositories, and more are now just a few keystrokes away.
7+
version: git
8+
base: core22
9+
grade: stable
10+
confinement: strict
11+
12+
plugs:
13+
dot-config-bb:
14+
interface: personal-files
15+
write:
16+
- $HOME/.config/bitbucket/config-cli.yml
17+
- $HOME/.bitbucket-cli
18+
19+
apps:
20+
bb:
21+
command: bin/bb
22+
plugs:
23+
- home
24+
- dot-config-bb
25+
- network
26+
27+
parts:
28+
bb:
29+
plugin: go
30+
source-type: git
31+
source: https://bitbucket.org/gildas_cherruel/bb
32+
build-snaps:
33+
- go

version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var branch string
1212
var stamp string
1313

1414
// VERSION is the version of this application
15-
var VERSION = "0.7.0"
15+
var VERSION = "0.8.0"
1616

1717
// APP is the name of the application
1818
const APP = "bb"

0 commit comments

Comments
 (0)