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
Maas Lalani
4d75f110a7
fix(spinner): hide spinner when done
2023-12-13 12:26:10 -05:00
snan
a11d1ff648
fix: Make --select-if-one print to stdout ( #463 )
...
For some reason it wasn't printing to stdout (and I could repro that
bug even on versions before I added the newline). It was only showing
up on other streams in the shell (error stream probably), not getting
sent into pipes.
I changed it to fmt.Println.
As for the ansi-stripping that was in `filter`, LMK if that's what you
prefer and I'll add it to `choose` too. I just wanted them to match.
2023-12-10 13:52:11 -05:00
snan
d1145b4163
Add newline printing to --select-if-one ( #459 )
...
* Add newline printing to --select-if-one
This matches how choose works normally when there are more than
one option.
* Add newline printing to filter --select-if-one
To match how it works without --select-if-one.
2023-12-07 10:29:40 -05:00
dependabot[bot]
c9afacc74b
chore(deps): bump actions/setup-go from 4 to 5 ( #460 )
...
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>
2023-12-07 08:54:33 -03:00
Rose Thatcher
5c65944c66
(fix): ShowOutput flag displays in realtime ( #405 )
2023-11-29 16:54:57 -05:00
Maas Lalani
32c9d20692
fix(lint): groupName is unused
2023-11-29 11:38:27 -05:00
Maas Lalani
76582446ec
fix: add error printing back
2023-11-29 11:00:43 -05:00
Maas Lalani
01a66511a1
Hide Style Flags consistently ( #457 )
...
* refactor: hide style flags on error to not clutter usage
* docs(style): add comment regarding dynamically hiding flags
2023-11-28 14:17:57 -05:00
Kenny Parnell
fb6849ca16
Add --select-if-one
flag to choose
/filter
. ( #398 )
...
* Add `--select-if-one` flag to `choose`/`filter`.
* Remove accidental commit of other changes.
* fix: use o.Options
---------
Co-authored-by: Maas Lalani <maas@lalani.dev>
2023-11-28 12:34:50 -05:00
dependabot[bot]
c5aa973625
feat(deps): bump github.com/charmbracelet/log from 0.3.0 to 0.3.1 ( #456 )
...
Bumps [github.com/charmbracelet/log](https://github.com/charmbracelet/log ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/charmbracelet/log/releases )
- [Commits](https://github.com/charmbracelet/log/compare/v0.3.0...v0.3.1 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/log
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>
2023-11-28 09:28:30 -03:00
Piero Lescano
dd557baf6a
fix(input): Avoid reading from stdin if --value
is being used ( #448 )
2023-11-14 16:54:45 -05:00
dependabot[bot]
eb0e8afeba
feat(deps): bump golang.org/x/net from 0.8.0 to 0.17.0 ( #451 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.8.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.8.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 16:44:23 -05:00
Ayman Bagabas
504a2060b2
fix(log): use log default colors
2023-11-08 12:12:06 -05:00
Ayman Bagabas
7bae4c8fcb
fix(log): default info level color
...
https://github.com/charmbracelet/log/blob/main/styles.go#L67
2023-11-08 12:09:50 -05:00
Maas Lalani
bf3864e231
Log predefined time formats ( #452 )
...
* feat: allow predefined time formats
* refactor(log): use time format constants
* feat(log): time format flag -> time flag
* docs: add formats to help
2023-11-08 12:03:49 -05:00
Maas Lalani
3839b8d6e1
docs(log): add gif
2023-11-08 11:11:50 -05:00
Maas Lalani
055aa0d791
feat(log): add short flags
2023-11-08 11:10:58 -05:00
Maas Lalani
12ef4d3085
docs(log): add log to the readme
2023-11-08 10:59:16 -05:00
Ayman Bagabas
86dbd9c70f
fix: add missing import
2023-11-08 10:44:36 -05:00
Ayman Bagabas
7d51fd8b73
feat: add log command ( #449 )
...
* feat: add log command
* fix: lint
* refactor: remove switch
* fix: use one level style embed
* fix(log): lint
* Update log/command.go
Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com>
---------
Co-authored-by: Maas Lalani <maas@lalani.dev>
2023-11-08 10:43:50 -05:00
Christian Höltje
46328de806
feat(write): ESC should be successful ( #433 )
...
Change ESC from aborting to successful quitting.
'vi' users press ESC as an uncontrollable tick, making using 'gum write'
painful when all their work is lost.
2023-10-19 12:38:23 -04:00
dependabot[bot]
8e959e4cdc
feat(deps): bump github.com/alecthomas/kong from 0.8.0 to 0.8.1 ( #438 )
...
Bumps [github.com/alecthomas/kong](https://github.com/alecthomas/kong ) from 0.8.0 to 0.8.1.
- [Commits](https://github.com/alecthomas/kong/compare/v0.8.0...v0.8.1 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/kong
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>
2023-10-19 12:33:51 -04:00
dependabot[bot]
1cedd4f20b
feat(deps): bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 ( #441 )
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.19 to 0.0.20.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.19...v0.0.20 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
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>
2023-10-19 12:33:18 -04:00
Maas Lalani
89e2a0fbd5
feat: static --print
table ( #436 )
2023-10-16 10:51:31 -04:00
Mikael Fangel
971b6cf16f
fix(filter): made filter work with lists as choose ( #424 )
...
* made filter work with lists as choose
* lint fix
* response to code review
2023-10-03 16:33:57 -04:00
dependabot[bot]
77aa8640f2
chore(deps): bump actions/checkout from 3 to 4 ( #418 )
2023-09-05 12:39:55 +00:00
Greg Kroah-Hartman
a63ea30136
spin: fix isTTY check ( #404 )
...
The isTTY check is inverted in the --show-output option for spin, so no
output is shown anymore. Fix this by correctly checking if we are a tty
or not.
2023-07-28 10:40:18 -04:00
Maas Lalani
a61f3bdc3f
fix(choose): --no-limit when 1 option available should still allow selection
2023-07-25 12:38:55 -04:00
Maas Lalani
6763de12e8
fix(choose): set initial page for selected
2023-07-25 12:34:00 -04:00
Maas Lalani
4b998515fd
feat(choose): use home/end to go to first/last option
2023-07-25 12:28:02 -04:00
Chris Long
ed52291b33
docs: Add WinGet installation details ( #401 )
2023-07-25 12:23:48 -04:00
Kenny Parnell
f5b09a434a
Switch to termenv.EnvColorProfile() ( #387 )
...
* Switch to termenv.EnvColorProfile()
This will allow users to set `NO_COLOR` and `CLICOLOR_FORCE` when they need to override the detected values.
* Update main.go
2023-07-20 14:14:31 -04:00
Dieter Eickstaedt
d1ad453ce6
feat: Timeout for Choose Command ( #384 )
2023-06-30 09:28:46 -04:00
Dieter Eickstaedt
f73341a56c
feat: Timeout for File Command ( #386 )
2023-06-30 09:22:45 -04:00
Dieter Eickstaedt
eef6431d7c
feat: Timeout for Confirm Command ( #383 )
...
* feat: Timeout for Confirm Command
* fix: comment
---------
Co-authored-by: Maas Lalani <maas@lalani.dev>
2023-06-30 09:20:33 -04:00
Dieter Eickstaedt
6bf79aa899
feat: Timeout for Filter Command ( #382 )
2023-06-30 09:18:02 -04:00
Dieter Eickstaedt
f8caeef195
feat: Timeout for Spin Command ( #385 )
...
* feat: Timeout for Spin Command
* fix: spin timeout
---------
Co-authored-by: Maas Lalani <maas@lalani.dev>
2023-06-30 09:17:09 -04:00
Maas Lalani
0c1cc8e669
fix(pager): lint
2023-06-29 17:43:58 -04:00