Commit graph

758 commits

Author SHA1 Message Date
Carlos Alexandro Becker
c89c8bd6e7
feat: update glamour (#634)
* feat: updating glamour

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: trim space

* chore: bump

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* chore(deps): bump

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: perms

* fix: improve logs

* feat: update glamour

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-08-21 14:43:05 -03:00
Carlos Alexandro Becker
4578bc149a
feat: updating glamour (#631)
* feat: updating glamour

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: trim space

* chore: bump

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* chore(deps): bump

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-25 10:32:08 -04:00
Carlos Alexandro Becker
0dcf1271dd
feat: suspend
closes #333
2024-07-11 18:07:35 -03:00
Carlos Alexandro Becker
94835d99ee
test: skip flukish test 2024-07-11 12:20:59 -03:00
kalle (jag)
96d2a38e67
feat: allow --width=0 to disable wordwrap (#366)
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-11 12:16:12 -03:00
Carlos Alexandro Becker
2d5bd3b799
feat: show line numbers configuration option
closes #311
2024-07-11 12:08:57 -03:00
Carlos Alexandro Becker
247c707b25
fix: glow URL
closes #464
2024-07-11 12:02:03 -03:00
Carlos Alexandro Becker
c356273a76
chore: update glamour to master
fixes  #485

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-10 17:02:37 -03:00
Carlos Alexandro Becker
3f9102d116
fix: yet another log handling fix 2024-07-10 12:02:50 -03:00
Carlos Alexandro Becker
a1a85636ea
fix: handle not being able to create log file 2024-07-10 10:42:21 -03:00
Carlos Alexandro Becker
b80e8312f2
fix: handle permission denied 2024-07-10 10:39:05 -03:00
Carlos Alexandro Becker
39c336f823
ci: improve coverage workflow 2024-07-10 10:37:00 -03:00
Carlos Alexandro Becker
e4cacf7319
fix: mkdir cache dir 2024-07-10 10:35:52 -03:00
Carlos Alexandro Becker
ad01f380bd
fix: improve line no 2024-07-09 16:46:49 -03:00
Carlos Alexandro Becker
597e56bad4
feat: open editor in current line
closes #547
2024-07-09 16:38:32 -03:00
Carlos Alexandro Becker
400228cff6
docs: update install 2024-07-09 16:38:10 -03:00
Carlos Alexandro Becker
1407793c5d
fix: pass color profile down to glamour (#626)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-09 16:13:32 -03:00
Carlos Alexandro Becker
401610afa4
ci: run govulncheck, semgrep, etc (#627)
* ci: run govulncheck, semgrep, etc

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: error check

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-09 16:13:05 -03:00
Carlos Alexandro Becker
9ebe39cd09
feat: improve gitlab/github readme url (#456)
* Use GitHub API to find readme filename

* Fix lint errors and typos

* Bring back "tries to find" instead of "finds"

* Rename `readmeURL` to `apiURL`

* Don't close body

* Use GitLab API to find readme filename

* feat: improve gitlab/github readme url

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: danielwerg <35052399+danielwerg@users.noreply.github.com>
2024-07-09 16:07:39 -03:00
Carlos Alexandro Becker
ab94744c39
chore: fix codeowners
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-09 16:04:11 -03:00
Carlos Alexandro Becker
2288311e82
fix: do not hard fail if no config
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-09 10:58:52 -03:00
Carlos Alexandro Becker
dbf6e3e799
ci: fix goreleaser config
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-09 10:48:54 -03:00
Carlos Alexandro Becker
1133e5047b
fix: config failing in tests (#625)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-09 10:47:44 -03:00
Carlos Alexandro Becker
f44e5b5f5c
fix: improve message
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-09 10:17:18 -03:00
Carlos Alexandro Becker
d89d79a00c
feat: --preserve-new-lines (#623)
closes #502
2024-07-09 09:50:10 -03:00
Carlos Alexandro Becker
fe066f2140
feat: allow config from CHARM_CONFIG_HOME and XDG_CONFIG_HOME (#621)
* feat: allow config from CHARM_CONFIG_HOME

closes #594
closes #495
closes #328
closes #475

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: improvements on config handling

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* chore: log

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-08 22:33:49 -03:00
Carlos Alexandro Becker
b1d377237d
feat: add 'r' to refresh list and document (#624)
* feat: add 'r' to refresh list

closes #416

Co-authored-by: Dieter Eickstaedt <eickstaedt@deicon.de>

* feat: refresh document

Closes #501

Co-authored-by: fedeztk <federicoserranexus@gmail.com>

---------

Co-authored-by: Dieter Eickstaedt <eickstaedt@deicon.de>
Co-authored-by: fedeztk <federicoserranexus@gmail.com>
2024-07-08 16:15:08 -03:00
haennes
0a7db86725
docs: use nix-shell as nix-env -iA is bad practice (#622) 2024-07-08 11:19:02 -03:00
Carlos Alexandro Becker
f1cf0ba785
feat: man pages
closes #269
2024-07-03 13:59:11 -03:00
Carlos Alexandro Becker
d7032fe57f
feat: shell completions
closes #533
closes #546
closes #512
2024-07-03 13:41:11 -03:00
Carlos Alexandro Becker
821d51da13
fix: do not show absolute path as note 2024-07-03 13:36:17 -03:00
Carlos Alexandro Becker
dbfcc27dad
chore: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-03 13:27:07 -03:00
Carlos Alexandro Becker
380f71086c
Merge remote-tracking branch 'origin/master' 2024-07-03 13:26:53 -03:00
Aitva
08c564c858
fix: --all bypass .gitignore rules (#285) (#504)
* feat(deps): bump github.com/muesli/gitcha from 0.2.0 to 0.3.0

* fix: --all bypass .gitignore rules (#285)

* Update ui/ui.go

---------

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-03 13:19:19 -03:00
Carlos Alexandro Becker
e31dc2c890
Merge remote-tracking branch 'origin/master' 2024-07-03 13:16:12 -03:00
Carlos Alexandro Becker
8e51396575
fix: check other possible readme paths/branches (#450)
* fix: check other possible readme paths/branches

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: url

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: Readme.md

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2024-07-03 13:09:20 -03:00
rustfix
f3d0cb89da
chore: fix typo in comment (#607)
Signed-off-by: rustfix <771054535@qq.com>
2024-07-03 13:06:57 -03:00
Carlos Alexandro Becker
7e471f1787
fix: lint issue
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-03 13:05:46 -03:00
dependabot[bot]
3ee20895b1
chore(deps): bump github.com/charmbracelet/glamour from 0.6.0 to 0.7.0 (#600)
Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/charmbracelet/glamour/releases)
- [Commits](https://github.com/charmbracelet/glamour/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/glamour
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-03 12:26:38 -03:00
dependabot[bot]
c47e2acd30
chore(deps): bump golangci/golangci-lint-action from 4 to 6 (#612)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v6)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-03 12:26:01 -03:00
Carlos Alexandro Becker
fce3edf7db
feat!: cleanup and updated (#619)
* feat!: cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* more cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: more cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: more cleanup

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-03 12:11:29 -03:00
Ayman Bagabas
d2e7742a6a
chore(ci): enable gofumpt 2024-05-22 11:48:31 -04:00
Maas Lalani
2430b0af3f Create CODEOWNERS 2024-02-28 21:01:19 -05:00
dependabot[bot]
cece1377cd
chore(deps): bump github.com/mattn/go-runewidth from 0.0.14 to 0.0.15 (#576)
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.14 to 0.0.15.
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.14...v0.0.15)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-runewidth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:59:38 -05:00
dependabot[bot]
feefb88e70
chore(deps): bump github.com/spf13/cobra from 1.6.1 to 1.8.0 (#577)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.6.1 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.6.1...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:59:24 -05:00
dependabot[bot]
ec12c2717d
feat(deps): bump golang.org/x/sys from 0.15.0 to 0.17.0 (#570)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:59:13 -05:00
dependabot[bot]
f1437fce69
chore(deps): bump github.com/dustin/go-humanize (#575)
Bumps [github.com/dustin/go-humanize](https://github.com/dustin/go-humanize) from 1.0.1-0.20200219035652-afde56e7acac to 1.0.1.
- [Commits](https://github.com/dustin/go-humanize/commits/v1.0.1)

---
updated-dependencies:
- dependency-name: github.com/dustin/go-humanize
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:54:52 -05:00
dependabot[bot]
79c39932fb
chore(deps): bump golangci/golangci-lint-action from 3 to 4 (#572)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:54:32 -05:00
dependabot[bot]
64cc6a6baa
chore(deps): bump actions/checkout from 3 to 4 (#574)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:54:24 -05:00
dependabot[bot]
8221279fa3
chore(deps): bump actions/setup-go from 4 to 5 (#573)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:54:12 -05:00