Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gum date subcommand #1

Merged
merged 10 commits into from
Nov 29, 2023
Merged

Add gum date subcommand #1

merged 10 commits into from
Nov 29, 2023

Conversation

lukasschwab
Copy link
Owner

Fixes charmbracelet#409.

You may also be happy with date +%F.

See also charmbracelet/bubbles#76, a more visually complicated date-picker. If that bubbles component gets merged, gum date should use it (or offer a flag to use it).

Changes

  • Adds a gum date subcommand. Supports:
    • Specified --prompt, --header, and corresponding styles (clone of gum input).
    • Specified starting date --value in ISO 8601 format.
  • Ignores charmbracelet/vhs precursors and gifs.

@lukasschwab lukasschwab merged commit 510ea4a into main Nov 29, 2023
@lukasschwab lukasschwab deleted the date branch November 29, 2023 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant