Skip to content

Commit

Permalink
Merged in release/0.8.0 (pull request #8)
Browse files Browse the repository at this point in the history
Merge release/0.8.0
  • Loading branch information
gildas committed Dec 30, 2023
2 parents e4fc955 + 5d0b511 commit bd28627
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 3 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@

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

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.

## Installation

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

Once you get the `bb` executable, you can install it anywhere in your `$PATH`:
Once you get the `bb` executable, you can install it anywhere in your `$PATH`.

You can also install `bb` with snap:

```bash
snap install bitbucket-cli
```

## Usage

Expand Down
1 change: 1 addition & 0 deletions cmd/repository/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func init() {
listCmd.Flags().Var(&listOptions.Role, "role", "Role of the user in the repository")
listCmd.Flags().Var(&listOptions.Workspace, "workspace", "Workspace to list repositories from")
_ = listCmd.RegisterFlagCompletionFunc("workspace", listOptions.Workspace.CompletionFunc())
_ = listCmd.RegisterFlagCompletionFunc("role", listOptions.Role.CompletionFunc())
}

func listProcess(cmd *cobra.Command, args []string) (err error) {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module bitbucket.org/gildas_cherruel/bb

go 1.21.3
go 1.21

require (
github.com/gildas/go-core v0.5.6
Expand Down
33 changes: 33 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: bitbucket-cli
summary: Bitbucket CLI
description: |
The Bitbucket Command Line Interface 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.
version: git
base: core22
grade: stable
confinement: strict

plugs:
dot-config-bb:
interface: personal-files
write:
- $HOME/.config/bitbucket/config-cli.yml
- $HOME/.bitbucket-cli

apps:
bb:
command: bin/bb
plugs:
- home
- dot-config-bb
- network

parts:
bb:
plugin: go
source-type: git
source: https://bitbucket.org/gildas_cherruel/bb
build-snaps:
- go
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var branch string
var stamp string

// VERSION is the version of this application
var VERSION = "0.7.0"
var VERSION = "0.8.0"

// APP is the name of the application
const APP = "bb"
Expand Down

0 comments on commit bd28627

Please sign in to comment.