Maas Lalani
00ba1f77a7
docs(examples): Convert to GIF (ffmpeg) script
2022-07-15 18:33:04 -04:00
Maas Lalani
473cab8216
docs: add placeholder art
2022-07-15 17:26:33 -04:00
Maas Lalani
74ef277486
docs: customization flags
2022-07-15 16:12:50 -04:00
Maas Lalani
9b2e4add3e
docs: add screenshots for tmux session picker and commit picker
2022-07-15 11:24:27 -04:00
Maas Lalani
ac4c08078a
docs: gum format screenshots
2022-07-15 11:16:47 -04:00
Maas Lalani
ab825d95ac
docs(format): Add gum format
docs
2022-07-15 11:01:19 -04:00
Maas Lalani
5d147f48e2
refactor(format): Move functions to formats.go and add map between type and function
2022-07-14 17:09:18 -04:00
Maas Lalani
e17e45aa9b
docs: move information to format/README.md
2022-07-14 16:33:16 -04:00
Maas Lalani
4dd438bad1
fix: don't wordwrap code
2022-07-14 16:13:43 -04:00
Maas Lalani
0223da8b6c
feat: gum format --type emoji|markdown|code|template
2022-07-14 15:27:26 -04:00
Maas Lalani
71b8363f97
feat: add gum format
command to format text
2022-07-14 13:51:26 -04:00
Maas Lalani
5a1195dda5
fix: choose prefixes and pink gum
text
2022-07-14 10:37:22 -04:00
Maas Lalani
0f4b98c2ad
docs(demos): Add editor and commit demos
2022-07-13 16:29:53 -04:00
Maas Lalani
4d98a8fa6f
feat(choose): Add paginator to chooser
...
Display paginator only if number of options > height specified
2022-07-13 15:49:15 -04:00
Maas Lalani
a26995e17f
docs: style
and join
screenshots
2022-07-13 14:46:29 -04:00
Maas Lalani
7907c40005
docs: resize demo gifs
2022-07-13 13:22:37 -04:00
Maas Lalani
eae3cf8c64
docs: Add examples of gum choose --limit and --no-limit
2022-07-13 13:14:59 -04:00
Maas Lalani
54f85439fa
feat(choose): --no-limit flag alias
...
Adds a --no-limit flag as an alias to set the limit to the number of options available.
2022-07-13 12:10:38 -04:00
Maas Lalani
01404ef586
feat(choose): Ability to choose multiple choices --limit
...
This commit introduces the ability to choose multiple options from the list of choices in `gum choose` by adding a `--limit` flag.
2022-07-13 11:45:52 -04:00
Maas Lalani
5de4df66d2
refactor: add package comments describing behavior
2022-07-13 09:55:36 -04:00
Maas Lalani
67f923de35
docs: Add gifs to README
2022-07-12 23:47:07 -04:00
Maas Lalani
912157521c
docs: group style flags so that they appear at the bottom
2022-07-12 22:48:44 -04:00
Maas Lalani
7190822247
refactor(kong): Implement Run(...) error
interface
...
Instead of needing to run the commands manually in main.go, we can implement the `Run(...) error` method to satisfy the command interface so that `kong` can Run our commands for us.
2022-07-12 22:33:52 -04:00
Maas Lalani
bf8d9964df
feat: allow initial values of input and write to be set via stdin
2022-07-12 16:30:17 -04:00
Maas Lalani
02e925ea57
refactor: use embedded style struct for all lipgloss styling
...
This commit uses the embedded style struct for styling in all components. The most notable example is `gum write` where there are many styles that are used and composed for each component of the command.
2022-07-12 16:08:33 -04:00
Maas Lalani
569c2cc622
refactor: embed style struct for reusability in styling other components
2022-07-12 10:07:29 -04:00
Maas Lalani
89892f85e3
docs(magic): Add example of magic trick
...
The magic example shows the user a bash magic trick by asking them to choose a card and then showing them their card.
A script never reveals its secrets. (unless you look at ./examples/magic.sh)
2022-07-11 18:11:48 -04:00
Maas Lalani
3e8153e140
fix(write): Add CtrlD as a quitting key
...
Add tea.KeyCtrlD as a way to quit the write as it signifies EOF.
2022-07-11 17:18:06 -04:00
Maas Lalani
66ef277036
fix(write): Hide textarea when quitting
...
When the user is done editing the text in the textarea this change hides the textarea and prints only the value to not clutter the terminal.
2022-07-11 17:16:30 -04:00
Maas Lalani
11e7e18256
docs(examples): Add example of conventional commit script
...
This change adds an example script of how to prompt the user for the necessary information for a conventional commit.
2022-07-11 17:07:53 -04:00
Maas Lalani
593cf711be
feat: Allow setting initial value for input
and write
2022-07-11 16:53:13 -04:00
Maas Lalani
46ddc28ae5
feat: gum choose
, pick from a list of choices
...
gum choose allows the user to be prompted for a choice from a list of choices.
For example, let's ask the user to pick a card from a deck.
gum choose --height 15 {Ace,King,Queen,Jack,Ten,Nine,Eight,Seven,Six,Five,Four,Three,Two}" of "{Spades,Hearts,Clubs,Diamonds}
2022-07-11 16:26:23 -04:00
Maas Lalani
dab3792d5f
docs: examples pick commit hash from history
2022-07-11 13:54:45 -04:00
Maas Lalani
e72857b737
docs: Add some examples of how to use gum
in workflows
...
This commit adds usage examples to the README.md on how users can use
gum in their workflows. In fact, this commit message is being created
through the `gum write` command as shown in the example!
2022-07-11 13:35:06 -04:00
Maas Lalani
aca8dcbc89
docs: fix bubbles components links
2022-07-11 10:41:16 -04:00
Christian Rocha
be4027ce28
fix(write): honor --height argument
2022-07-08 22:39:21 -04:00
Maas Lalani
d760cf4048
docs: Arch Linux (btw)
2022-07-08 22:39:21 -04:00
Maas Lalani
901e367fe2
refactor: rename gum search
to gum filter
2022-07-08 13:58:14 -04:00
Ayman Bagabas
432d6dd032
docs: add badges
2022-07-08 13:47:21 -04:00
Maas Lalani
62b7fe6ac0
Merge pull request #2 from charmbracelet/release
...
Prepare for release & add workflows and update readme
2022-07-08 13:45:00 -04:00
Maas Lalani
0cbe05030b
Merge pull request #3 from charmbracelet/demo
...
fix: example
2022-07-08 13:42:23 -04:00
Carlos A Becker
9db6389fec
fix: example
...
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-08 14:38:42 -03:00
Ayman Bagabas
d0325fd2f9
feat: add Dockerfile
2022-07-08 13:37:13 -04:00
Ayman Bagabas
7d5333deb2
docs: add installation methods to readme
2022-07-08 13:31:54 -04:00
Maas Lalani
6273aa6138
fix: support arrow keys for searching
2022-07-08 13:29:56 -04:00
Ayman Bagabas
9c8ac09dc6
feat(ci): add ci build and goreleaser
2022-07-08 13:21:53 -04:00
Maas Lalani
b58dc52fc8
docs: add join comment with example
2022-07-08 10:23:45 -04:00
Maas Lalani
9e483004fc
docs: show complex gum join
layout
2022-07-07 23:29:18 -04:00
Maas Lalani
4557fe8406
docs: gum write
, gum join
2022-07-07 23:21:33 -04:00
Maas Lalani
ff1f02f470
fix(write): Placeholder color fix
2022-07-07 22:39:42 -04:00