mittwald / mittwald/cli

Download latest Backup

Open
#445 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
TypeScript
Stars
8
Forks
2
Avg merge
13h 26m
Merged PRs (30d)
35

Description

To download the latest backup, I have to do two steps:

# get the latest backup id
mw backup list -o json | jq '.[0].id'
# download the backup
mw backup download <BACKUP-ID>

It would be awesome to have a “well known” ID latest which can be used to do this automatically:

mw backup download latest

Or this could be a flag, if given the BACKUP-ID would be optional:

mw backup download --latest

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the CLI entry point for mw backup download and inspect how the backup ID argument is validated and resolved. Decide whether latest or --latest matches the existing command conventions, then verify that the latest backup can be downloaded without first running mw backup list; add or update coverage if the command has tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.