Skip to content

Commit 37fddc6

Browse files
committed
Update versioning to v0.1.0 across all files and adjust session management function calls and other refactoring
1 parent b613177 commit 37fddc6

File tree

5 files changed

+81
-66
lines changed

5 files changed

+81
-66
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
║ ██║ ███╗══╝████║███████╗███████╗███████║ ║
99
║ ██║ ██║██║ ██║ ╚════██║╚════██║██╔══██║ ║
1010
║ ██████╔╝██║ ██║ ███████║███████║██║ ██║ ║
11-
║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝v1.0-Oz
11+
║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝v0.1.0-Oz ║
1212
║ <-POSIX Compliant-> ║
1313
║ ║
1414
╚═══════════════════════════════════════════════════════════════╝

gitssh

Lines changed: 37 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/sh
22

33
#================================================================#
4-
# GITSSH v1.0 - Git SSH User Session Manager CLI
4+
# GITSSH v0.1.0 - Git SSH User Session Manager CLI
55
# Clean command dispatcher without backward compatibility
66
#================================================================#
77

88
set -e
99

1010
# Version information
11-
readonly GITSSH_VERSION="1.0.0"
11+
readonly GITSSH_VERSION="0.1.0"
1212
readonly GITSSH_NAME="GitSSH"
1313

1414
#================================================================#
@@ -92,8 +92,8 @@ _load_modules() {
9292
fi
9393
done
9494

95-
if [ "$loaded_count" -lt 6 ]; then
96-
printf "Error: Only %d of 6 required modules loaded\n" "$loaded_count" >&2
95+
if [ "$loaded_count" -lt 7 ]; then
96+
printf "Error: Only %d of 7 required modules loaded\n" "$loaded_count" >&2
9797
if [ -n "$failed_modules" ]; then
9898
printf "Failed modules:%s\n" "$failed_modules" >&2
9999
fi
@@ -459,7 +459,7 @@ _show_main_help() {
459459
║ ██║ ███╗══╝████║███████╗███████╗███████║ ║
460460
║ ██║ ██║██║ ██║ ╚════██║╚════██║██╔══██║ ║
461461
║ ██████╔╝██║ ██║ ███████║███████║██║ ██║ ║
462-
║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝v1.0-Oz
462+
║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝v0.1.0-Oz ║
463463
║ <-POSIX Compliant-> ║
464464
║ ║
465465
╚═══════════════════════════════════════════════════════════════╝
@@ -470,15 +470,26 @@ USAGE:
470470
471471
SETUP & INITIALIZATION:
472472
init Initialize GitSSH configuration
473-
onboard Interactive first-time setup wizard
474-
validate Validate system configuration
473+
onboard|setup-wizard Interactive first-time setup wizard
474+
validate|check|doctor Validate gitssh system configuration
475475
476+
ENHANCED GIT OPERATIONS:
477+
clone <url> Enhanced git clone with auto-setup
478+
status|st Enhanced git status with user info
479+
commit|ci [opts] Enhanced git commit with user verification
480+
push [opts] Enhanced git push with verification
481+
fetch [opts] Enhanced git fetch with SSH verification
482+
pull [opts] Enhanced git pull with SSH verification
483+
info Show detailed repository information and SSH connection
484+
476485
USER MANAGEMENT:
477-
user, users See user accounts and ssh accounts status
478-
user add Add new user account
479-
user remove <user> Remove user account
486+
switch|sw <user> Switch to user locally
487+
switch -g <user> Switch to user globally
488+
user|users See user accounts and ssh accounts status
489+
user add [opts] Add new user account
490+
user remove|rm|delete <user> Remove user account
480491
user list List all configured users
481-
user switch <user> Switch to user locally
492+
user switch <user> Switch to user locally
482493
user switch -g <user> Switch to user globally
483494
user status Show current user status
484495
@@ -491,42 +502,46 @@ SESSION MANAGEMENT:
491502
session forget Remove persistent config for repo
492503
session list List all session repositories
493504
505+
session export <path> Export session data to file
506+
session import <path> Import session data from file
507+
session cleanup Cleanup stale session data
508+
494509
SSH MANAGEMENT:
495-
ssh status Show SSH configuration status
510+
ssh status|info Show SSH configuration status
496511
ssh doctor Diagnose SSH connection issues
497512
ssh repair Fix common SSH problems
498513
ssh test <host> Test SSH connection
514+
ssh backup Backup SSH configuration
515+
ssh restore <path> Restore SSH configuration from backup
516+
ssh learn Guide to adding new SSH hosts
499517
500518
SETUP WIZARDS:
501519
setup github Setup GitHub SSH authentication
502520
setup gitlab Setup GitLab SSH authentication
503521
504-
REPOSITORY OPERATIONS:
505-
clone <url> Enhanced git clone with auto-setup
506-
status Enhanced git status with user info
507-
info Show detailed repository information
508-
commit [opts] Enhanced git commit with verification
509-
push [opts] Enhanced git push with verification
510522
511523
REMOTE MANAGEMENT:
512524
remote, remotes Show git repository remotes
513525
remote convert Convert HTTPS remote to SSH
514526
remote add <name> <url> Add remote with SSH conversion
515527
remote check Check remote configuration
516528
remote list List all remotes with details
529+
remote recommendations Show remote configuration recommendations
530+
517531
518532
CONFIGURATION:
519533
config show Show current configuration
520534
config reset Reset configuration to defaults
521535
config backup Backup configuration files
522536
config restore <path> Restore from backup
537+
config migrate Migrate from old configuration format
523538
524539
INSTALLATION/UNINSTALLATION/UPDATE MANAGEMENT:
525540
gitssh reinstall Reinstall GitSSH system
526-
gitssh uninstall Completely remove GitSSH
527-
gitssh update Update to latest version
528-
gitssh verify Verify installation integrity
529-
gitssh diagnose Run installation diagnostics
541+
gitssh uninstall|remove Completely remove GitSSH
542+
gitssh update|upgrade Update to latest version
543+
gitssh verify|test-install Verify installation integrity
544+
gitssh diagnose|doctor-install Run installation diagnostics
530545
531546
INFORMATION:
532547
help [command] Show help (general or command-specific)

0 commit comments

Comments
 (0)