You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `--verbose` flag is now available on all remote subcommands: `myapp remote add origin https://... --verbose`.
36
+
The `--verbose` flag is now available on all remote subcommands, and can be specified either before or after the subcommand name: `myapp remote --verbose add origin https://...` or `myapp remote add origin https://... --verbose`.
37
+
38
+
Tip: even if a subcommand doesn't add any extra arguments/options (like `list`), give it a dedicated settings type that inherits from the branch settings (for example, `RemoteListSettings : RemoteSettings`).
36
39
37
40
## Nest Multiple Levels
38
41
39
-
For complex CLIs, branches can contain other branches:
42
+
For complex CLIs, branches can contain other branches (use the non-generic overload when you just want grouping):
40
43
41
44
```csharp
42
45
config.AddBranch("cloud", cloud=>
@@ -54,4 +57,4 @@ This creates deeply nested commands like `myapp cloud storage upload`.
0 commit comments