Christian Rocha
b1b02e4ecb
chore(readme): add repo installation instructions for DEBs and RPMs ( #600 )
...
* chore(readme): add repo installation instructions for DEBs and RPMs
* chore(lint): explicitly ignore Fprint return values
2024-06-05 13:10:19 -04:00
Christian Rocha
fa2f67d1d6
fix: also drop left padding in choose ( #597 )
...
* fix: also drop left padding in choose
* chore(choose): wipe base theme
Co-authored-by: Maas Lalani <maas@lalani.dev>
---------
Co-authored-by: Maas Lalani <maas@lalani.dev>
2024-06-02 07:51:03 -04:00
Maas Lalani
baf36ae662
fix: remove border left on active element
2024-05-31 16:11:26 -04:00
Maas Lalani
657c76eb9b
chore(deps): bump deps
2024-05-25 14:56:32 -04:00
Maas Lalani
c977aaf4ae
chore(deps): bump deps
2024-05-25 14:54:38 -04:00
Mikael Fangel
efb70a1302
input: make keymap backwards compatible ( #579 )
...
Co-authored-by: Maas Lalani <maas@lalani.dev>
2024-05-25 14:53:42 -04:00
Maas Lalani
a8712df2a7
Show help with Huh? ( #587 )
...
* chore(deps): bump deps
* feat: show help using huh?
* fix: lint
* fix: test.sh
2024-05-25 14:51:20 -04:00
dependabot[bot]
00767d209a
chore(deps): bump golangci/golangci-lint-action from 5 to 6 ( #569 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5...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-05-25 14:44:15 -04:00
Mikael Fangel
2fe0291e02
fix(stdin): add trim of trailing newline ( #577 )
...
* stdin: add trim of trailing newline
* choose: remove trimsuffix
* filter: remove trimsuffix
* style: remove trimsuffix
2024-05-25 14:44:01 -04:00
Mikael Fangel
26178f8894
fix(input, write): re-enable cursor style ( #592 )
...
* input: uncomment cursor theme
* write: add theme to huh form
2024-05-25 14:42:44 -04:00
Mikael Fangel
68400ae7b3
chore: update nix ( #576 )
...
* flake: change pkg source to unstable
* flake.lock: update
* default.nix: update vendorhash and add ldflags
2024-05-25 14:42:08 -04:00
Mikael Fangel
2b0a4c033e
fix: handle huh user aborted error at main ( #578 )
2024-05-25 14:41:34 -04:00
dependabot[bot]
4222e59c25
feat(deps): bump github.com/charmbracelet/bubbletea ( #560 )
2024-05-03 01:14:56 -04:00
Zimo Li
ed0b62f7e9
feat(pager): use home/end to go to top/bottom ( #548 )
2024-04-30 12:40:26 -04:00
dependabot[bot]
7ad8d1b37b
chore(deps): bump golangci/golangci-lint-action from 4 to 5 ( #546 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 4 to 5.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v5 )
---
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-04-26 17:35:37 -04:00
camcui
a0f96abea4
Replace custom strings with constants from the standard library ( #537 )
2024-04-26 11:40:18 -04:00
bashbunni
a4f52465e7
fix(docs): include winget install
2024-04-22 12:44:33 -07:00
Code_Zealot
4bdcb2bc0c
Update example in comment to latest pager syntax ( #542 )
2024-04-18 07:23:40 -04:00
Maas Lalani
1a0111eaff
docs: update readme
2024-04-05 04:20:49 -04:00
Maas Lalani
f75dfa668f
docs: add new gifs ( #533 )
...
* docs: add new gifs
* Update README.md
* docs: spin.gif
* docs: add spin.gif to readme
* fix: lint
* don't commit filter.tape
2024-04-05 04:16:25 -04:00
Maas Lalani
2a35019323
docs: rework examples section
2024-04-05 02:38:26 -04:00
Maas Lalani
9ab722ca4f
chore: new gifs (JetBrains Mono)
2024-04-05 02:32:16 -04:00
Maas Lalani
42f59ed330
Update README.md ( #531 )
2024-04-04 02:26:40 -04:00
Maas Lalani
1705593eb9
Clean up README.md
2024-04-04 02:17:07 -04:00
Maas Lalani
4d5d53169e
feat: huh gum write ( #525 )
2024-03-29 07:19:03 -04:00
Maas Lalani
2f0ea96504
fix(input): width
2024-03-28 16:38:24 -04:00
Maas Lalani
589be38936
fix: textinput stdin read
2024-03-28 16:36:14 -04:00
Maas Lalani
4a560b1953
feat: huh for gum input ( #524 )
2024-03-28 16:29:08 -04:00
Maas Lalani
3a717104a9
feat: huh file picker ( #523 )
...
Use `huh` for `gum file`.
2024-03-28 16:19:06 -04:00
Maas Lalani
f7572e387e
Use Huh for Gum Confirm ( #522 )
...
* feat: gum confirm with huh
Use `huh` for `gum confirm`.
* fix: lint
2024-03-28 14:41:06 -04:00
Maas Lalani
44906e23b9
Use Huh for Gum Choose ( #521 )
...
* feat: use huh for gum choose (select + multiselect)
Uses Select for gum choose and MultiSelect for gum choose --no-limit.
* chore: bump to 1.21
2024-03-28 14:22:03 -04:00
Maas Lalani
598ee57330
fix: lint
2024-03-28 13:21:51 -04:00
dependabot[bot]
4cc4611a34
feat(deps): bump github.com/charmbracelet/glamour ( #517 )
...
Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour ) from 0.6.1-0.20230531150759-6d5b52861a9d to 0.7.0.
- [Release notes](https://github.com/charmbracelet/glamour/releases )
- [Commits](https://github.com/charmbracelet/glamour/commits/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-03-28 13:12:31 -04:00
Kevin
de9f6b0397
docs(readme): add missing documentation ( #513 )
...
add documentation surrounding how to select multiple items in a list and returning them
2024-03-28 13:12:19 -04:00
Jelle Besseling
f4d198396f
feat(spin): Add support for --show-error for the spinner. (rebase #440 ) ( #518 )
...
* feat(spin): Add support for `--show-error` for the spinner.
This makes it so that if the `--show-error` flag is provided then the
full output of the command will be printed if the command fails. This
kind of works in conjuncture with `--show-output` in that if the command
succeeds only STDOUT is pushed. If the command fails both `STDOUT` and
`STDERR` are pushed.
This builds off of https://github.com/charmbracelet/gum/pull/371
Resolves #55
* chore: Fix formatting
---------
Co-authored-by: Elliot Courant <me@elliotcourant.dev>
2024-03-28 13:11:07 -04:00
dependabot[bot]
2f2fa3bf00
feat(deps): bump github.com/charmbracelet/lipgloss from 0.9.1 to 0.10.0 ( #508 )
...
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss ) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases )
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.9.1...v0.10.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/lipgloss
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-03-06 11:19:47 -05:00
Carlos Alexandro Becker
396ddf86df
build: rename scoop to charm-gum ( #504 )
...
gum conflicts with another tool, even if it is in our own bucket, this
still makes it difficult to install.
the official scoop for gum is also called charm-gum, so I think this
should work better.
refs https://github.com/charmbracelet/scoop-bucket/pull/7
2024-03-01 17:36:15 -03:00
Carlos Alexandro Becker
5951e0612f
fix: lint issues, linter config ( #505 )
2024-03-01 08:32:02 -05:00
dependabot[bot]
491042b25f
feat(deps): bump github.com/sahilm/fuzzy ( #503 )
...
Bumps [github.com/sahilm/fuzzy](https://github.com/sahilm/fuzzy ) from 0.1.1-0.20230530133925-c48e322e2a8f to 0.1.1.
- [Release notes](https://github.com/sahilm/fuzzy/releases )
- [Commits](https://github.com/sahilm/fuzzy/commits/v0.1.1 )
---
updated-dependencies:
- dependency-name: github.com/sahilm/fuzzy
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-03-01 10:12:13 -03:00
dependabot[bot]
7ccd488d42
feat(deps): bump github.com/charmbracelet/bubbles from 0.17.1 to 0.18.0 ( #489 )
...
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles ) from 0.17.1 to 0.18.0.
- [Release notes](https://github.com/charmbracelet/bubbles/releases )
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.17.1...v0.18.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
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-28 21:28:38 -05:00
dependabot[bot]
6255eaeb02
chore(deps): bump golangci/golangci-lint-action from 3 to 4 ( #496 )
...
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-28 21:28:17 -05:00
Maas Lalani
e4c4002496
Create CODEOWNERS
2024-02-28 20:58:01 -05:00
Maas Lalani
7caf7d44ff
fix(format): force ansi256 for template formatting
2024-01-13 23:12:03 -05:00
Maas Lalani
2d896f777e
feat(filter): allow customizing placeholder
2024-01-13 15:33:58 -05:00
Maas Lalani
7e5b494ae4
feat(input): allow placeholder style customization
2024-01-13 15:33:58 -05:00
Kevin Ernst
cd115c44e9
Add example and help for gum log --time option to README ( #472 )
...
* docs(log): add help for `--time` option
The `gum log --help` output for `--time` option says
```
-t, --time="" The time format to use (kitchen, layout, ansic, rfc822, etc...)
```
with no indication of what `etc...` means. This is probably inferred for proficient Go programmers, but not for everyone else.
This commit makes it clearer which options are supported by `--time` by linking to the docs for the `time` library,
* Update README.md
* Update README.md
---------
Co-authored-by: Maas Lalani <maas@lalani.dev>
2024-01-12 14:31:18 -05:00
dependabot[bot]
3a37defc82
feat(deps): bump github.com/charmbracelet/bubbles from 0.16.1 to 0.17.1
...
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles ) from 0.16.1 to 0.17.1.
- [Release notes](https://github.com/charmbracelet/bubbles/releases )
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.16.1...v0.17.1 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-12 14:08:46 -05:00
Maas Lalani
6a275b423f
feat(spin): stdout streaming ( #467 )
2023-12-21 15:09:00 -05:00
Rose Thatcher
4a00db207a
Spin output can still be piped if timeout occurs ( #461 )
2023-12-13 13:54:14 -05:00
dependabot[bot]
7b16e873c7
feat(deps): bump github.com/charmbracelet/bubbletea ( #465 )
...
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea ) from 0.24.2 to 0.25.0.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases )
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.24.2...v0.25.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
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>
2023-12-13 13:53:14 -05:00