package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Mar 24, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package mv implements the ctx pad mv subcommand.
It moves a pad entry from one position to another by index.
Cmd returns the pad mv subcommand.
Returns:
- *cobra.Command: Configured mv subcommand
Run moves entry from 1-based position n to 1-based position m.
Parameters:
- cmd: Cobra command for output
- n: Source position (1-based)
- m: Destination position (1-based)
Returns:
- error: Non-nil on invalid index or read/write failure
Source Files
¶
Click to show internal directories.
Click to hide internal directories.