Skip to content

Commit 770e33a

Browse files
committed
Add session management commands and tests
Introduces new session management commands: sessions, session-clear, session-prune, secure-session-start, and secure-sessions. Refactors session logic for extensibility, adds encryption/decryption for secure sessions, and provides utilities for session file handling. Includes comprehensive unit tests for session utilities and encryption functions.
1 parent 8050634 commit 770e33a

3 files changed

Lines changed: 1148 additions & 180 deletions

File tree

cmd/root.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ func init() {
6666

6767
// New commands for v0.5.0 - Session management
6868
rootCmd.AddCommand(commands.SessionStartCmd)
69+
rootCmd.AddCommand(commands.SessionsCmd)
70+
rootCmd.AddCommand(commands.SessionClearCmd)
71+
rootCmd.AddCommand(commands.SessionPruneCmd)
72+
rootCmd.AddCommand(commands.SecureSessionStartCmd)
73+
rootCmd.AddCommand(commands.SecureSessionsCmd)
6974

7075
// New commands for v0.5.0 - Alias management
7176
rootCmd.AddCommand(commands.AliasListCmd)

0 commit comments

Comments
 (0)