Skip to content

Make a wrapper script instead of shell functions #11

@edgan

Description

@edgan

Is your feature request related to a problem?
Instead of telling the user to add a resume function to .$SHELLrc it would be far better and simpler to make one wrapper shell script. It could just work instead of requiring additional setup per user and/or system. It would also simplify the documentation, and not be per shell. It could also auto update with an upgrade instead of manual tweaking by the user assuming they read the documentation again.

resume() {
  local cmd
  cmd=$(FORCE_COLOR=3 npx -y ai-resume-cli@latest)
  [ $? -eq 0 ] && [ -n "$cmd" ] && eval "$cmd"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions