Comments (1)
Hi @matkoch - please advise on what the intended usage for this kind of command setup - without using interpolation?
In the use case of a custom tool [PathVariable("my tool")] readily Tool MyTool
with a MyTool.Invoke(cmd)
We see in the Tool code implementation there in an implicit string
cast of the arguments
to a ArgumentStringHandler
; but this behavior does not seem to be documented.
This seem to do more processing that has side effects, where we suspect it uses a code-generated implementation via the [[InterpolatedStringHandler]
attribute that is opaque, like adding the extra quotes.
It would be good for those using Nuke to be able to understand this better...?
Our solution we to entirely build the command, with any interpolations, outside/before of the Tool.Invoke
, and pass that in.
The implicit cast is not obvious unless ones IDE highlights them! This means folks get lost in thinking it is an error in their interpolation etc. than what is happening under the covers.
The implicit frictions issues such as this cause, may have folks consider alternative build solutions.
from nuke.
Related Issues (20)
- DotNetVerbosity is case-sensitive - Nuke uses wrong case HOT 1
- Access to IProcess on task execution start
- Solution is not resolved during .Produces call
- `npm notice` logged as error when using NpmTasks HOT 5
- DotNetBuild reports each warning multiple times on Azure Pipelines HOT 2
- Could not find 'git' when trying to update HOT 1
- NET8 Binary Formatter deprecation HOT 1
- BinaryFormatter is blocked by default on .NET 8, breaking SettingsEntity.NewInstance HOT 3
- DotNetTasks.DotNetPublish fails with NRE when upgrading Nuke.Common from 7.0.0 to 7.0.1 HOT 3
- Broken Link referencing GithubActions in Readme HOT 1
- Locally connect to privet feed HOT 4
- GitHubActions.CreateComment doesn't handle return statuses HOT 1
- Multiple SetInclude in "OctopusTasks.OctopusPack"
- Generate Gant diagram in GitHub summary
- Fails to run inside distrobox
- Cannot suppress logging when using `DotNetTasks.DotNetToolUninstall` and `CombineWith` HOT 1
- Global tool can't run in home directory of user HOT 2
- OnlyWhenStatic does not skip dependencies HOT 3
- Update DocFx HOT 5
- Solution.GetProject returns null HOT 10
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 nuke.