Skip to main content

cli/commands/
state.rs

1use clap::{Args, Subcommand};
2
3#[derive(Subcommand, Debug)]
4pub enum StateCommands {
5    /// Migrate and clean old shine-owned runtime state after schema changes
6    Migrate(StateMigrateCommand),
7}
8
9#[derive(Args, Debug)]
10pub struct StateMigrateCommand {
11    /// Print migration steps without changing files
12    #[arg(long)]
13    pub dry_run: bool,
14}