18 references to Value
dotnet-user-jwts (18)
Commands\ClearCommand.cs (1)
26return Execute(cmd.Reporter, cmd.ProjectOption.Value(), forceOption.HasValue());
Commands\CreateCommand.cs (9)
92return Execute(cmd.Reporter, cmd.ProjectOption.Value(), options, optionsString, cmd.OutputOption.Value(), program); 113var project = finder.FindMsBuildProject(projectOption.Value()); 128var scheme = schemeNameOption.HasValue() ? schemeNameOption.Value() : "Bearer"; 131var name = nameOption.HasValue() ? nameOption.Value() : Environment.UserName; 141var issuer = issuerOption.HasValue() ? issuerOption.Value() : DevJwtsDefaults.Issuer; 147if (!ParseDate(notBeforeOption.Value(), out notBefore)) 158if (!ParseDate(expiresOnOption.Value(), out expiresOn)) 178if (!TimeSpan.TryParseExact(validForOption.Value(), _timeSpanFormats, CultureInfo.InvariantCulture, out var validForValue))
Commands\KeyCommand.cs (3)
44cmd.ProjectOption.Value(), 45schemeOption.Value() ?? DevJwtsDefaults.Scheme, 46issuerOption.Value() ?? DevJwtsDefaults.Issuer,
Commands\ListCommand.cs (2)
27return Execute(cmd.Reporter, cmd.ProjectOption.Value(), showTokensOption.HasValue(), cmd.OutputOption.Value());
Commands\PrintCommand.cs (2)
31cmd.ProjectOption.Value(), 34cmd.OutputOption.Value());
Commands\RemoveCommand.cs (1)
27return Execute(cmd.Reporter, cmd.ProjectOption.Value(), idArgument.Value);