unlink

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Copyright © 2025 PRAS

Index

Constants

This section is empty.

Variables

View Source
var UnlinkCmd = &cobra.Command{
	Use:   "unlink",
	Short: "Unlink development plasmoid from the system",
	Long:  "Remove the symlink linking the development plasmoid from the system directories.",
	Run: func(cmd *cobra.Command, args []string) {
		dest, err := utilsGetDevDest()

		if err != nil {
			fmt.Println(color.RedString(err.Error()))
			return
		}

		_ = osRemoveAll(dest)
		fmt.Println(color.GreenString("Plasmoid unlinked successfully."))
	},
}

UnlinkCmd represents the unlink command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL