utils

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: May 21, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSessionName

func CreateSessionName(dirName string) string

createSessionName creates a valid tmux session name from a directory name

func DetermineSessionName

func DetermineSessionName(dir string, cfg *config.Config) string

determineSessionName tries to find a matching workspace in config or falls back to dir basename

func GetWorkingDirPath

func GetWorkingDirPath(cmd *cli.Command) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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