Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: 5ouma/mli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.4.2
Choose a base ref
...
head repository: 5ouma/mli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
49 changes: 0 additions & 49 deletions .github/pre-commit.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>5ouma/utils"],
"labels": ["⛓️ Dependencies"]
"extends": ["github>5ouma/utils", "github>5ouma/utils:labels"]
}
5 changes: 3 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,8 @@ name: 🚸 pre-commit

on:
push:
branches: [main]
branches:
- main
pull_request:

jobs:
@@ -11,4 +12,4 @@ jobs:

steps:
- name: 🚸 Run pre-commit
uses: 5ouma/utils/pre-commit@13661aa27741f7c7771ace67ad008d1931dd01b7 # main
uses: 5ouma/utils/pre-commit@main
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ jobs:

- name: 🏷️ Release a New Version
id: tagpr
uses: Songmu/tagpr@3dca11e7c0d68637ee212ddd35acc3d30a7403a4 # v1.5.0
uses: Songmu/tagpr@e89d37247ca73d3e5620bf074a53fbd5b39e66b0 # v1.5.1
with:
config: .github/tagpr.ini
env:
@@ -43,12 +43,12 @@ jobs:
fetch-depth: 0

- name: 🐹 Setup Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: go.mod

- name: 💳 Create GitHub App Token
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
@@ -57,7 +57,7 @@ jobs:
repositories: homebrew-formula

- name: 🚀 Build and Release with GoReleaser
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0
uses: goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3 # v6.2.1
with:
args: release --clean --config=.github/goreleaser.yml
env:
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: 🐹 Setup Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: go.mod

@@ -36,6 +36,6 @@ jobs:
run: go test -v -race ./... -coverprofile=coverage.txt -covermode=atomic

- name: ☂️ Upload Coverage
uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # v5.1.1
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
37 changes: 18 additions & 19 deletions .github/README.md → docs/README.md
Original file line number Diff line number Diff line change
@@ -4,21 +4,20 @@

**📑 Manage macOS Login Items**

[![GitHub Release](https://img.shields.io/github/v/release/5ouma/mli?style=flat-square)](https://github.com/5ouma/mli/releases)
![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/5ouma/mli/total?style=flat-square)
<br />

[![GitHub Release](https://img.shields.io/github/v/release/5ouma/mli?label=Release&style=flat-square)](https://github.com/5ouma/mli/releases)
![GitHub Downloads](https://img.shields.io/github/downloads/5ouma/mli/total?label=Downloads&style=flat-square)
[![Go Docs](https://godoc.org/github.com/golang/gddo?status.svg)](https://pkg.go.dev/github.com/5ouma/mli)
[![Go Report Card](https://goreportcard.com/badge/github.com/5ouma/mli?style=flat-square)](https://goreportcard.com/report/github.com/5ouma/mli)
<br />
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/5ouma/mli?style=flat-square)
![GitHub repo size](https://img.shields.io/github/repo-size/5ouma/mli?style=flat-square)
[![GitHub last commit](https://img.shields.io/github/last-commit/5ouma/mli?style=flat-square)](https://github.com/5ouma/mli/commit/HEAD)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/5ouma/mli?style=flat-square)](https://github.com/5ouma/mli/commits/main)
<br />
[![Test](https://img.shields.io/github/actions/workflow/status/5ouma/mli/test.yml?label=test&style=flat-square)](https://github.com/5ouma/mli/actions/workflows/test.yml)
[![Release](https://img.shields.io/github/actions/workflow/status/5ouma/mli/release.yml?label=release&style=flat-square)](https://github.com/5ouma/mli/actions/workflows/release.yml)
[![Test](https://img.shields.io/github/actions/workflow/status/5ouma/mli/test.yml?label=Test&style=flat-square)](https://github.com/5ouma/mli/actions/workflows/test.yml)
[![Release](https://img.shields.io/github/actions/workflow/status/5ouma/mli/release.yml?label=Release&style=flat-square)](https://github.com/5ouma/mli/actions/workflows/release.yml)
[![pre-commit](https://img.shields.io/github/actions/workflow/status/5ouma/mli/pre-commit.yml?label=pre-commit&style=flat-square)](https://github.com/5ouma/utils/actions/workflows/mli.yml)
[![codecov](https://codecov.io/gh/5ouma/mli/graph/badge.svg)](https://codecov.io/gh/5ouma/mli)

![Repobeats Analytics Image](https://repobeats.axiom.co/api/embed/0dc7cdae7e36b4c193bce1f056102842dc7abaf9.svg)

</div>

<br /><br />
@@ -95,15 +94,15 @@ Use "mli [command] --help" for more information about a command.
<div align="center">
<picture>
<source
srcset="https://raw.githubusercontent.com/5ouma/mli/HEAD/.github/assets/vhs/light/load.gif"
srcset="https://raw.githubusercontent.com/5ouma/mli/HEAD/docs/assets/vhs/light/load.gif"
media="(prefers-color-scheme: light)"
/>
<source
srcset="https://raw.githubusercontent.com/5ouma/mli/HEAD/.github/assets/vhs/dark/load.gif"
srcset="https://raw.githubusercontent.com/5ouma/mli/HEAD/docs/assets/vhs/dark/load.gif"
media="(prefers-color-scheme: dark)"
/>
<!-- markdownlint-disable MD013 -->
<img alt="Load command GIF image generated by VHS" src="https://raw.githubusercontent.com/5ouma/mli/HEAD/.github/assets/vhs/light/load.gif" />
<img alt="Load command GIF image generated by VHS" src="https://raw.githubusercontent.com/5ouma/mli/HEAD/docs/assets/vhs/light/load.gif" />
</picture>
</div>

@@ -126,15 +125,15 @@ Use "mli [command] --help" for more information about a command.
<div align="center">
<picture>
<source
srcset="https://raw.githubusercontent.com/5ouma/mli/HEAD/.github/assets/vhs/light/save.gif"
srcset="https://raw.githubusercontent.com/5ouma/mli/HEAD/docs/assets/vhs/light/save.gif"
media="(prefers-color-scheme: light)"
/>
<source
srcset="https://raw.githubusercontent.com/5ouma/mli/HEAD/.github/assets/vhs/dark/save.gif"
srcset="https://raw.githubusercontent.com/5ouma/mli/HEAD/docs/assets/vhs/dark/save.gif"
media="(prefers-color-scheme: dark)"
/>
<!-- markdownlint-disable MD013 -->
<img alt="Load command GIF image generated by VHS" src="https://raw.githubusercontent.com/5ouma/mli/HEAD/.github/assets/vhs/light/save.gif" />
<img alt="Load command GIF image generated by VHS" src="https://raw.githubusercontent.com/5ouma/mli/HEAD/docs/assets/vhs/light/save.gif" />
</picture>
</div>

@@ -154,15 +153,15 @@ Use "mli [command] --help" for more information about a command.
<div align="center">
<picture>
<source
srcset="https://raw.githubusercontent.com/5ouma/mli/HEAD/.github/assets/vhs/light/check.gif"
srcset="https://raw.githubusercontent.com/5ouma/mli/HEAD/docs/assets/vhs/light/check.gif"
media="(prefers-color-scheme: light)"
/>
<source
srcset="https://raw.githubusercontent.com/5ouma/mli/HEAD/.github/assets/vhs/dark/check.gif"
srcset="https://raw.githubusercontent.com/5ouma/mli/HEAD/docs/assets/vhs/dark/check.gif"
media="(prefers-color-scheme: dark)"
/>
<!-- markdownlint-disable MD013 -->
<img alt="Check command GIF image generated by VHS" src="https://raw.githubusercontent.com/5ouma/mli/HEAD/.github/assets/vhs/light/check.gif" />
<img alt="Check command GIF image generated by VHS" src="https://raw.githubusercontent.com/5ouma/mli/HEAD/docs/assets/vhs/light/check.gif" />
</picture>
</div>

@@ -184,7 +183,7 @@ Use "mli [command] --help" for more information about a command.

I happily welcome your contributions!
Before you contribute,
I would recommend reading [CONTRIBUTING.md](./CONTRIBUTING.md) for a better development experience.
I would recommend reading [CONTRIBUTING.md](./.github/CONTRIBUTING.md) for a better development experience.

<br /><br />

File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ go 1.23.3
require (
github.com/andybrewer/mack v0.0.0-20220307193339-22e922cc18af
github.com/charmbracelet/lipgloss v1.0.0
github.com/spf13/cobra v1.8.1
github.com/spf13/cobra v1.9.1
)

require (
@@ -17,6 +17,6 @@ require (
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/muesli/termenv v0.15.2 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/pflag v1.0.6 // indirect
golang.org/x/sys v0.19.0 // indirect
)
7 changes: 7 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@ github.com/charmbracelet/lipgloss v1.0.0/go.mod h1:U5fy9Z+C38obMs+T+tJqst9VGzlOY
github.com/charmbracelet/x/ansi v0.4.2 h1:0JM6Aj/g/KC154/gOP4vfxun0ff6itogDYk41kof+qk=
github.com/charmbracelet/x/ansi v0.4.2/go.mod h1:dk73KoMTT5AX5BsX0KrqhsTqAnhZZoCBjs7dGWp4Ktw=
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
@@ -23,8 +24,14 @@ github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUc
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
github.com/spf13/cobra v1.9.0 h1:Py5fIuq/lJsRYxcxfOtsJqpmwJWCMOUy2tMJYV8TNHE=
github.com/spf13/cobra v1.9.0/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=