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

🧹 config clean CLI command removes running manuscripts #112

Open
3 tasks done
KagemniKarimu opened this issue Dec 31, 2024 · 0 comments
Open
3 tasks done

🧹 config clean CLI command removes running manuscripts #112

KagemniKarimu opened this issue Dec 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@KagemniKarimu
Copy link
Contributor

Self Checks

Environment

📜 Manuscript Core:
  Version:	1.1.1

🏗️  Build Information:
  Go Version:	go1.21.3
  Rust Version:	1.83.0
  Git Commit:	ba24f01
  Built:	2024-12-30:16:13:55

💻 System Information:
  Unix Name:	Linux fedora-workstation 6.12.6-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 19 21:06:34 UTC 2024 x86_64 GNU/Linux
  OS/Arch:	linux/amd64

🐳 Docker Environment:
  Docker:	'27.4.1'

Steps to reproduce

  1. run manuscript-cli init and create a manuscript
  2. run manuscript-cli ls && manuscript-cli config show to verify manuscript was created
  3. run manuscript-cli config clean and remove created manuscript while running

✔️ Expected Behavior

manuscript-cli should return an error when attempting to remove running manuscripts from config file (i.e. `ERROR: manuscript is currently running and must be stopped before being removed)

❌ Actual Behavior

manuscript-cli removes manuscript from config while manuscript is still running resulting in unexpected behavior (such as disappearing from the manuscript list and being unable to be stopped.

@KagemniKarimu KagemniKarimu added the bug Something isn't working label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant