Comments (4)
Seems like I cannot run the cupboard fixture in another project because RunCommands is internal 😓
https://github.com/patriksvensson/cupboard/blob/e78c91af009089a331243010e7903689db17f028/src/Cupboard/Cli/RunCommand.cs#L12
Spectre.Console.Cli.CommandRuntimeException: Could not resolve type 'Cupboard.Internal.RunCommand'.
Spectre.Console.Cli.CommandRuntimeException
Could not resolve type 'Cupboard.Internal.RunCommand'.
at Spectre.Console.Cli.TypeResolverAdapter.Resolve(Type type) in /_/src/Spectre.Console/Cli/Internal/TypeResolverAdapter.cs:line 43
at Spectre.Console.Cli.CommandTree.CreateCommand(ITypeResolver resolver) in /_/src/Spectre.Console/Cli/Internal/Parsing/CommandTree.cs:line 29
at Spectre.Console.Cli.CommandExecutor.Execute(CommandTree leaf, CommandTree tree, CommandContext context, ITypeResolver resolver, IConfiguration configuration) in /_/src/Spectre.Console/Cli/Internal/CommandExecutor.cs:line 107
at Spectre.Console.Cli.CommandExecutor.Execute(IConfiguration configuration, IEnumerable`1 args) in /_/src/Spectre.Console/Cli/Internal/CommandExecutor.cs:line 84
at Spectre.Console.Cli.CommandApp.RunAsync(IEnumerable`1 args) in /_/src/Spectre.Console/Cli/CommandApp.cs:line 87
at Spectre.Console.Cli.CommandApp.Run(IEnumerable`1 args) in /_/src/Spectre.Console/Cli/CommandApp.cs:line 61
at Spectre.Console.Cli.CommandApp`1.Run(IEnumerable`1 args) in /_/src/Spectre.Console/Cli/CommandAppOfT.cs:line 42
at Cupboard.CupboardHost.Run(String[] args) in /_/src/Cupboard/CupboardHost.cs:line 32
at UnitTests.CupboardFixture.Run(String[] args)
from cupboard.
Not at a computer tonight but will take a look tomorrow.
from cupboard.
@jetersen Perhaps we could add a ConfigureServices(Action<IServiceProvider>)
method to CupboardFixture
where custom registrations could be made?
from cupboard.
@patriksvensson sounds good to me
from cupboard.
Related Issues (20)
- Add Scoop resource HOT 1
- Enable Discussions HOT 1
- Running as sudo in Linux means that the home directory is going to be /root HOT 2
- Could not load file or assembly Microsoft.Management.Infrastructure HOT 2
- Add a ` -i|--interactive` flag to step through each Resource HOT 1
- Add support for PowerShell Core on non-Windows machines
- Add support for chocolatey parameters HOT 1
- Add support for chocolatey flags
- DotNetTool Provider
- Add support to winget flags
- Support Reboot & Resume HOT 1
- Question: Will it support MacOs or Linux HOT 4
- Compiler errors when following README HOT 1
- Power scheme provider
- Windows Firewall Provider
- Cannot create registry key without value
- package provider cached output does not work well for chocolatey and winget
- Update to net6.0 HOT 1
- remove Mono.Posix.NETStandard ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cupboard.