mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
21 lines
411 B
Go
21 lines
411 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/carapace-sh/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var remountCmd = &cobra.Command{
|
|
Use: "remount",
|
|
Short: "remount partitions read-write",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(remountCmd).Standalone()
|
|
|
|
remountCmd.Flags().BoolS("R", "R", false, "automatically reboot the device if needed")
|
|
|
|
rootCmd.AddCommand(remountCmd)
|
|
}
|