luxe update and /update, editable question answers, and a version bump owed once per release
- luxe update and /update update Luxe with the command for however it was installed (cargo or Homebrew), run one program at a time with the terminal attached, then check that the luxe on PATH is the new version. Luxe never downloads or replaces its own binary. The start screen says "Update available · /update". - A question's typed answer edits at its caret: arrows, word jumps, Home, End and Delete work, and up and down move through a wrapped answer before leaving it. - The version check owes a bump once per release: the version on main is the next release, and only a released one (a v-tag) has to move. - Dependency updates arrive through the sync, so Dependabot and the weekly jobs no longer run here.
This commit is contained in:
@@ -19,6 +19,13 @@ pub(super) fn built_in() -> Vec<Command> {
|
||||
.with_slash("/quit")
|
||||
.summary("Leaves Luxe; the session is saved as it goes, so nothing is lost.")
|
||||
.keywords(&["exit", "close"]),
|
||||
Command::slash(id::UPDATE, "Update Luxe", "/update")
|
||||
.summary("Quits Luxe and updates it with the command for however you installed it.")
|
||||
.detail(
|
||||
"The same as `luxe update`: each command is shown before it runs, in this \
|
||||
terminal. A copy your system's package manager owns is left to it.",
|
||||
)
|
||||
.keywords(&["upgrade", "version", "release", "new"]),
|
||||
Command::action(UiAction::Reload)
|
||||
.with_slash("/reload")
|
||||
.summary("Re-reads your config and keybindings without restarting.")
|
||||
|
||||
@@ -34,4 +34,5 @@ pub(crate) const STATUSLINE: &str = "cmd.statusline";
|
||||
pub(crate) const THEME: &str = "cmd.theme";
|
||||
pub(crate) const THINKING: &str = "cmd.thinking";
|
||||
pub(crate) const TOOLS: &str = "cmd.tools";
|
||||
pub(crate) const UPDATE: &str = "cmd.update";
|
||||
pub(crate) const WORKTREE: &str = "cmd.worktree";
|
||||
|
||||
Reference in New Issue
Block a user