[PR #512] [CLOSED] feat: add migrate flag to allow users to migrate in all calls to the CLI #634

Closed
opened 2026-02-25 23:34:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/512
Author: @fmartingr
Created: 10/12/2022
Status: Closed

Base: masterHead: issue-473


📝 Commits (2)

  • b30d268 feat: allow migrate flag on the cli
  • 2035b11 docs: updated cli documentation

📊 Changes

2 files changed (+17 additions, -4 deletions)

View changed files

📝 docs/Usage.md (+5 -4)
📝 internal/cmd/root.go (+12 -0)

📄 Description

Added the --migrate flag (alongside the migrate command) to perform migrations automatically on each call to the CLI that has that flag defined.

I'm reluctant to perform it in background directly, so this is a good compromise on both sides.

Fixes #473


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-shiori/shiori/pull/512 **Author:** [@fmartingr](https://github.com/fmartingr) **Created:** 10/12/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `issue-473` --- ### 📝 Commits (2) - [`b30d268`](https://github.com/go-shiori/shiori/commit/b30d2685f385e9d63380125c668a39c7f4f62cac) feat: allow migrate flag on the cli - [`2035b11`](https://github.com/go-shiori/shiori/commit/2035b112331270f8a867fa51a37996ea93dac250) docs: updated cli documentation ### 📊 Changes **2 files changed** (+17 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/Usage.md` (+5 -4) 📝 `internal/cmd/root.go` (+12 -0) </details> ### 📄 Description Added the `--migrate` flag (alongside the `migrate` command) to perform migrations automatically on each call to the CLI that has that flag defined. I'm reluctant to perform it in background directly, so this is a good compromise on both sides. Fixes #473 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:34:57 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#634
No description provided.