default to interactive
- SHA
e8335c04296dc90ad070342bc81bfd25fc3bad04- Parents
-
0f79807 - Tree
fd5a290
e8335c0
e8335c04296dc90ad070342bc81bfd25fc3bad040f79807
fd5a290| Status | File | + | - |
|---|---|---|---|
| M |
src/shtick/cli.py
|
3 | 4 |
src/shtick/cli.pymodified@@ -24,7 +24,7 @@ def cmd_generate(args) -> None: | |||
| 24 | config.load() | 24 | config.load() |
| 25 | 25 | ||
| 26 | generator = Generator() | 26 | generator = Generator() |
| 27 | - generator.generate_all(config, interactive=args.interactive) | 27 | + generator.generate_all(config, interactive=not args.terse) |
| 28 | 28 | ||
| 29 | except FileNotFoundError as e: | 29 | except FileNotFoundError as e: |
| 30 | print(f"Error: {e}") | 30 | print(f"Error: {e}") |
@@ -481,10 +481,9 @@ def main(): | |||
| 481 | ) | 481 | ) |
| 482 | gen_parser.add_argument("config", nargs="?", help="Path to config TOML file") | 482 | gen_parser.add_argument("config", nargs="?", help="Path to config TOML file") |
| 483 | gen_parser.add_argument( | 483 | gen_parser.add_argument( |
| 484 | - "-i", | 484 | + "--terse", |
| 485 | - "--interactive", | ||
| 486 | action="store_true", | 485 | action="store_true", |
| 487 | - help="Interactive shell selection for sourcing instructions", | 486 | + help="Skip interactive shell selection and show minimal output", |
| 488 | ) | 487 | ) |
| 489 | 488 | ||
| 490 | # Add command | 489 | # Add command |