tenseleyflow/gitswitch / 7cc2ede

Browse files

Create README.md

Authored by espadonne
Committed by GitHub
SHA
7cc2edeb15b89dd67af15f548820fc776499ca08
Parents
109dff8
Tree
abbead4

1 changed file

StatusFile+-
A README.md 37 0
README.mdadded
@@ -0,0 +1,37 @@
1
+# gitswitch C
2
+(noun) : SSDD for your SSDs' SDDM
3
+
4
+## what is this?
5
+this is another port. The original python version introduced some oddities with the ssh-agent. The C implementation avoids those oddities.
6
+
7
+```
8
+Usage: gitswitch [OPTIONS] [COMMAND] [ARGS]
9
+
10
+Commands:
11
+  add                  Add new account interactively
12
+  list, ls             List all configured accounts
13
+  remove <account>     Remove specified account
14
+  status               Show current account status
15
+  doctor, health       Run comprehensive health check
16
+  config               Show configuration file information
17
+  <account>            Switch to specified account
18
+
19
+Options:
20
+  --global, -g         Use global git scope
21
+  --local, -l          Use local git scope (default)
22
+  --dry-run, -n        Show what would be done without executing
23
+  --verbose, -V        Enable verbose output
24
+  --debug, -d          Enable debug logging
25
+  --color, -c          Force color output
26
+  --no-color, -C       Disable color output
27
+  --help, -h           Show this help message
28
+  --version, -v        Show version information
29
+
30
+Examples:
31
+  gitswitch add                    # Add new account interactively
32
+  gitswitch list                   # List all accounts
33
+  gitswitch 1                      # Switch to account ID 1
34
+  gitswitch work                   # Switch to account matching 'work'
35
+  gitswitch remove 2               # Remove account ID 2
36
+  gitswitch doctor                 # Run health check
37
+```